Lines Matching refs:family
41 #define MODULE_ALIAS_XFRM_MODE(family, encap) \ argument
42 MODULE_ALIAS("xfrm-mode-" __stringify(family) "-" __stringify(encap))
43 #define MODULE_ALIAS_XFRM_TYPE(family, proto) \ argument
44 MODULE_ALIAS("xfrm-type-" __stringify(family) "-" __stringify(proto))
157 u16 family; member
284 unsigned short family; member
319 unsigned int family; member
347 struct xfrm_state_afinfo *xfrm_state_get_afinfo(unsigned int family);
351 unsigned int family; member
383 int xfrm_register_type(const struct xfrm_type *type, unsigned short family);
384 int xfrm_unregister_type(const struct xfrm_type *type, unsigned short family);
445 int xfrm_register_mode(struct xfrm_mode *mode, int family);
446 int xfrm_unregister_mode(struct xfrm_mode *mode, int family);
448 static inline int xfrm_af2proto(unsigned int family) in xfrm_af2proto() argument
450 switch(family) { in xfrm_af2proto()
462 if ((ipproto == IPPROTO_IPIP && x->props.family == AF_INET) || in xfrm_ip2inner_mode()
463 (ipproto == IPPROTO_IPV6 && x->props.family == AF_INET6)) in xfrm_ip2inner_mode()
546 u16 family; member
560 u16 family; member
685 unsigned int family; member
727 void xfrm_audit_state_notfound_simple(struct sk_buff *skb, u16 family);
728 void xfrm_audit_state_notfound(struct sk_buff *skb, u16 family, __be32 net_spi,
765 u16 family) in xfrm_audit_state_notfound_simple() argument
769 static inline void xfrm_audit_state_notfound(struct sk_buff *skb, u16 family, in xfrm_audit_state_notfound() argument
906 const struct flowi *fl, unsigned short family);
1022 xfrm_addr_any(const xfrm_address_t *addr, unsigned short family) in xfrm_addr_any() argument
1024 switch (family) { in xfrm_addr_any()
1048 xfrm_state_addr_cmp(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x, unsigned short family) in xfrm_state_addr_cmp() argument
1050 switch (family) { in xfrm_state_addr_cmp()
1061 unsigned short family);
1065 unsigned int family, int reverse) in __xfrm_policy_check2() argument
1071 return __xfrm_policy_check(sk, ndir, skb, family); in __xfrm_policy_check2()
1075 __xfrm_policy_check(sk, ndir, skb, family); in __xfrm_policy_check2()
1078 … inline int xfrm_policy_check(struct sock *sk, int dir, struct sk_buff *skb, unsigned short family) in xfrm_policy_check() argument
1080 return __xfrm_policy_check2(sk, dir, skb, family, 0); in xfrm_policy_check()
1106 unsigned int family, int reverse);
1109 unsigned int family) in xfrm_decode_session() argument
1111 return __xfrm_decode_session(skb, fl, family, 0); in xfrm_decode_session()
1116 unsigned int family) in xfrm_decode_session_reverse() argument
1118 return __xfrm_decode_session(skb, fl, family, 1); in xfrm_decode_session_reverse()
1121 int __xfrm_route_forward(struct sk_buff *skb, unsigned short family);
1123 static inline int xfrm_route_forward(struct sk_buff *skb, unsigned short family) in xfrm_route_forward() argument
1129 __xfrm_route_forward(skb, family); in xfrm_route_forward()
1181 … inline int xfrm_policy_check(struct sock *sk, int dir, struct sk_buff *skb, unsigned short family) in xfrm_policy_check() argument
1187 unsigned int family) in xfrm_decode_session_reverse() argument
1207 xfrm_address_t *xfrm_flowi_daddr(const struct flowi *fl, unsigned short family) in xfrm_flowi_daddr() argument
1209 switch (family){ in xfrm_flowi_daddr()
1219 xfrm_address_t *xfrm_flowi_saddr(const struct flowi *fl, unsigned short family) in xfrm_flowi_saddr() argument
1221 switch (family){ in xfrm_flowi_saddr()
1233 unsigned short family) in xfrm_flowi_addr_get() argument
1235 switch(family) { in xfrm_flowi_addr_get()
1272 unsigned short family) in xfrm_state_addr_check() argument
1274 switch (family) { in xfrm_state_addr_check()
1285 unsigned short family) in xfrm_state_addr_flow_check() argument
1287 switch (family) { in xfrm_state_addr_flow_check()
1436 unsigned short family);
1440 unsigned short family,
1443 unsigned short family);
1450 u8 proto, unsigned short family);
1455 unsigned short family);
1458 unsigned short family, struct net *net);
1460 unsigned short family);
1463 int n, unsigned short family, struct net *net) in xfrm_tmpl_sort() argument
1469 int n, unsigned short family) in xfrm_state_sort() argument
1519 XFRM_SPI_SKB_CB(skb)->family = AF_INET; in xfrm4_rcv_spi()
1531 int xfrm4_tunnel_register(struct xfrm_tunnel *handler, unsigned short family);
1532 int xfrm4_tunnel_deregister(struct xfrm_tunnel *handler, unsigned short family);
1545 int xfrm6_tunnel_register(struct xfrm6_tunnel *handler, unsigned short family);
1546 int xfrm6_tunnel_deregister(struct xfrm6_tunnel *handler, unsigned short family);
1598 unsigned short family);
1644 sa_family_t family) in xfrm_addr_equal() argument
1646 switch (family) { in xfrm_addr_equal()
1790 unsigned int family) in xfrm_tunnel_check() argument
1794 switch(family) { in xfrm_tunnel_check()