Searched refs:natt (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/net/key/
H A Daf_key.c738 struct xfrm_encap_tmpl *natt = NULL; __pfkey_xfrm_state2msg() local
778 natt = x->encap; __pfkey_xfrm_state2msg()
780 if (natt && natt->encap_type) { __pfkey_xfrm_state2msg()
968 if (natt && natt->encap_type) { __pfkey_xfrm_state2msg()
976 n_type->sadb_x_nat_t_type_type = natt->encap_type; __pfkey_xfrm_state2msg()
985 n_port->sadb_x_nat_t_port_port = natt->encap_sport; __pfkey_xfrm_state2msg()
992 n_port->sadb_x_nat_t_port_port = natt->encap_dport; __pfkey_xfrm_state2msg()
1227 struct xfrm_encap_tmpl *natt; pfkey_msg2xfrm_state() local
1233 natt = x->encap; pfkey_msg2xfrm_state()
1235 natt->encap_type = n_type->sadb_x_nat_t_type_type; pfkey_msg2xfrm_state()
1240 natt->encap_sport = n_port->sadb_x_nat_t_port_port; pfkey_msg2xfrm_state()
1245 natt->encap_dport = n_port->sadb_x_nat_t_port_port; pfkey_msg2xfrm_state()
1247 memset(&natt->encap_oa, 0, sizeof(natt->encap_oa)); pfkey_msg2xfrm_state()
3286 struct xfrm_encap_tmpl *natt = NULL; pfkey_send_new_mapping() local
3298 natt = x->encap; pfkey_send_new_mapping()
3357 n_port->sadb_x_nat_t_port_port = natt->encap_sport; pfkey_send_new_mapping()

Completed in 166 milliseconds