Lines Matching refs:family

45 #define MODULE_ALIAS_XFRM_MODE(family, encap) \  argument
46 MODULE_ALIAS("xfrm-mode-" __stringify(family) "-" __stringify(encap))
47 #define MODULE_ALIAS_XFRM_TYPE(family, proto) \ argument
48 MODULE_ALIAS("xfrm-type-" __stringify(family) "-" __stringify(proto))
49 #define MODULE_ALIAS_XFRM_OFFLOAD_TYPE(family, proto) \ argument
50 MODULE_ALIAS("xfrm-offload-" __stringify(family) "-" __stringify(proto))
159 u8 family; member
209 u16 family; member
345 unsigned short family,
377 int xfrm_policy_register_afinfo(const struct xfrm_policy_afinfo *afinfo, int family);
390 u8 family; member
411 struct xfrm_state_afinfo *xfrm_state_get_afinfo(unsigned int family);
412 struct xfrm_state_afinfo *xfrm_state_afinfo_get_rcu(unsigned int family);
415 u8 family; member
445 int xfrm_register_type(const struct xfrm_type *type, unsigned short family);
446 void xfrm_unregister_type(const struct xfrm_type *type, unsigned short family);
456 int xfrm_register_type_offload(const struct xfrm_type_offload *type, unsigned short family);
457 void xfrm_unregister_type_offload(const struct xfrm_type_offload *type, unsigned short family);
459 static inline int xfrm_af2proto(unsigned int family) in xfrm_af2proto() argument
461 switch(family) { in xfrm_af2proto()
473 if ((ipproto == IPPROTO_IPIP && x->props.family == AF_INET) || in xfrm_ip2inner_mode()
474 (ipproto == IPPROTO_IPV6 && x->props.family == AF_INET6)) in xfrm_ip2inner_mode()
590 u16 family; member
607 u16 family; member
732 unsigned int family; member
775 void xfrm_audit_state_notfound_simple(struct sk_buff *skb, u16 family);
776 void xfrm_audit_state_notfound(struct sk_buff *skb, u16 family, __be32 net_spi,
813 u16 family) in xfrm_audit_state_notfound_simple() argument
817 static inline void xfrm_audit_state_notfound(struct sk_buff *skb, u16 family, in xfrm_audit_state_notfound() argument
960 const struct flowi *fl, unsigned short family);
1121 xfrm_addr_any(const xfrm_address_t *addr, unsigned short family) in xfrm_addr_any() argument
1123 switch (family) { in xfrm_addr_any()
1147 xfrm_state_addr_cmp(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x, unsigned short family) in xfrm_state_addr_cmp() argument
1149 switch (family) { in xfrm_state_addr_cmp()
1183 unsigned short family);
1195 int dir, unsigned short family) in __xfrm_check_dev_nopolicy() argument
1197 if (dir != XFRM_POLICY_OUT && family == AF_INET) { in __xfrm_check_dev_nopolicy()
1208 unsigned int family, int reverse) in __xfrm_policy_check2() argument
1216 return __xfrm_policy_check(sk, ndir, skb, family); in __xfrm_policy_check2()
1226 __xfrm_check_dev_nopolicy(skb, dir, family) || in __xfrm_policy_check2()
1227 __xfrm_policy_check(sk, ndir, skb, family); in __xfrm_policy_check2()
1230 … inline int xfrm_policy_check(struct sock *sk, int dir, struct sk_buff *skb, unsigned short family) in xfrm_policy_check() argument
1232 return __xfrm_policy_check2(sk, dir, skb, family, 0); in xfrm_policy_check()
1258 unsigned int family, int reverse);
1261 unsigned int family) in xfrm_decode_session() argument
1263 return __xfrm_decode_session(net, skb, fl, family, 0); in xfrm_decode_session()
1268 unsigned int family) in xfrm_decode_session_reverse() argument
1270 return __xfrm_decode_session(net, skb, fl, family, 1); in xfrm_decode_session_reverse()
1273 int __xfrm_route_forward(struct sk_buff *skb, unsigned short family);
1275 static inline int xfrm_route_forward(struct sk_buff *skb, unsigned short family) in xfrm_route_forward() argument
1284 __xfrm_route_forward(skb, family); in xfrm_route_forward()
1342 … inline int xfrm_policy_check(struct sock *sk, int dir, struct sk_buff *skb, unsigned short family) in xfrm_policy_check() argument
1348 unsigned int family) in xfrm_decode_session_reverse() argument
1365 xfrm_address_t *xfrm_flowi_daddr(const struct flowi *fl, unsigned short family) in xfrm_flowi_daddr() argument
1367 switch (family){ in xfrm_flowi_daddr()
1377 xfrm_address_t *xfrm_flowi_saddr(const struct flowi *fl, unsigned short family) in xfrm_flowi_saddr() argument
1379 switch (family){ in xfrm_flowi_saddr()
1391 unsigned short family) in xfrm_flowi_addr_get() argument
1393 switch(family) { in xfrm_flowi_addr_get()
1430 unsigned short family) in xfrm_state_addr_check() argument
1432 switch (family) { in xfrm_state_addr_check()
1443 unsigned short family) in xfrm_state_addr_flow_check() argument
1445 switch (family) { in xfrm_state_addr_flow_check()
1618 unsigned short family, u32 if_id);
1622 unsigned short family,
1625 unsigned short family);
1647 u8 proto, unsigned short family);
1652 unsigned short family);
1655 unsigned short family);
1657 unsigned short family);
1660 int n, unsigned short family) in xfrm_tmpl_sort() argument
1665 int n, unsigned short family) in xfrm_state_sort() argument
1725 XFRM_SPI_SKB_CB(skb)->family = AF_INET; in xfrm4_rcv_spi()
1733 int xfrm4_tunnel_register(struct xfrm_tunnel *handler, unsigned short family);
1734 int xfrm4_tunnel_deregister(struct xfrm_tunnel *handler, unsigned short family);
1748 int xfrm6_tunnel_register(struct xfrm6_tunnel *handler, unsigned short family);
1749 int xfrm6_tunnel_deregister(struct xfrm6_tunnel *handler, unsigned short family);
1772 struct dst_entry *__xfrm_dst_lookup(int family, const struct xfrm_dst_lookup_params *params);
1802 unsigned short family);
1853 sa_family_t family) in xfrm_addr_equal() argument
1855 switch (family) { in xfrm_addr_equal()
2131 unsigned int family) in xfrm_tunnel_check() argument
2135 switch(family) { in xfrm_tunnel_check()
2225 int xfrm_nat_keepalive_init(unsigned short family);
2226 void xfrm_nat_keepalive_fini(unsigned short family);