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
285 unsigned short family; member
321 unsigned int family; member
349 struct xfrm_state_afinfo *xfrm_state_get_afinfo(unsigned int family);
353 unsigned int family; member
385 int xfrm_register_type(const struct xfrm_type *type, unsigned short family);
386 int xfrm_unregister_type(const struct xfrm_type *type, unsigned short family);
447 int xfrm_register_mode(struct xfrm_mode *mode, int family);
448 int xfrm_unregister_mode(struct xfrm_mode *mode, int family);
450 static inline int xfrm_af2proto(unsigned int family) in xfrm_af2proto() argument
452 switch(family) { in xfrm_af2proto()
464 if ((ipproto == IPPROTO_IPIP && x->props.family == AF_INET) || in xfrm_ip2inner_mode()
465 (ipproto == IPPROTO_IPV6 && x->props.family == AF_INET6)) in xfrm_ip2inner_mode()
548 u16 family; member
563 u16 family; member
688 unsigned int family; member
730 void xfrm_audit_state_notfound_simple(struct sk_buff *skb, u16 family);
731 void xfrm_audit_state_notfound(struct sk_buff *skb, u16 family, __be32 net_spi,
768 u16 family) in xfrm_audit_state_notfound_simple() argument
772 static inline void xfrm_audit_state_notfound(struct sk_buff *skb, u16 family, in xfrm_audit_state_notfound() argument
909 const struct flowi *fl, unsigned short family);
1025 xfrm_addr_any(const xfrm_address_t *addr, unsigned short family) in xfrm_addr_any() argument
1027 switch (family) { in xfrm_addr_any()
1051 xfrm_state_addr_cmp(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x, unsigned short family) in xfrm_state_addr_cmp() argument
1053 switch (family) { in xfrm_state_addr_cmp()
1064 unsigned short family);
1068 unsigned int family, int reverse) in __xfrm_policy_check2() argument
1074 return __xfrm_policy_check(sk, ndir, skb, family); in __xfrm_policy_check2()
1078 __xfrm_policy_check(sk, ndir, skb, family); in __xfrm_policy_check2()
1081 … inline int xfrm_policy_check(struct sock *sk, int dir, struct sk_buff *skb, unsigned short family) in xfrm_policy_check() argument
1083 return __xfrm_policy_check2(sk, dir, skb, family, 0); in xfrm_policy_check()
1109 unsigned int family, int reverse);
1112 unsigned int family) in xfrm_decode_session() argument
1114 return __xfrm_decode_session(skb, fl, family, 0); in xfrm_decode_session()
1119 unsigned int family) in xfrm_decode_session_reverse() argument
1121 return __xfrm_decode_session(skb, fl, family, 1); in xfrm_decode_session_reverse()
1124 int __xfrm_route_forward(struct sk_buff *skb, unsigned short family);
1126 static inline int xfrm_route_forward(struct sk_buff *skb, unsigned short family) in xfrm_route_forward() argument
1132 __xfrm_route_forward(skb, family); in xfrm_route_forward()
1190 … inline int xfrm_policy_check(struct sock *sk, int dir, struct sk_buff *skb, unsigned short family) in xfrm_policy_check() argument
1196 unsigned int family) in xfrm_decode_session_reverse() argument
1216 xfrm_address_t *xfrm_flowi_daddr(const struct flowi *fl, unsigned short family) in xfrm_flowi_daddr() argument
1218 switch (family){ in xfrm_flowi_daddr()
1228 xfrm_address_t *xfrm_flowi_saddr(const struct flowi *fl, unsigned short family) in xfrm_flowi_saddr() argument
1230 switch (family){ in xfrm_flowi_saddr()
1242 unsigned short family) in xfrm_flowi_addr_get() argument
1244 switch(family) { in xfrm_flowi_addr_get()
1281 unsigned short family) in xfrm_state_addr_check() argument
1283 switch (family) { in xfrm_state_addr_check()
1294 unsigned short family) in xfrm_state_addr_flow_check() argument
1296 switch (family) { in xfrm_state_addr_flow_check()
1447 unsigned short family);
1451 unsigned short family,
1454 unsigned short family);
1461 u8 proto, unsigned short family);
1466 unsigned short family);
1469 unsigned short family, struct net *net);
1471 unsigned short family);
1474 int n, unsigned short family, struct net *net) in xfrm_tmpl_sort() argument
1480 int n, unsigned short family) in xfrm_state_sort() argument
1530 XFRM_SPI_SKB_CB(skb)->family = AF_INET; in xfrm4_rcv_spi()
1542 int xfrm4_tunnel_register(struct xfrm_tunnel *handler, unsigned short family);
1543 int xfrm4_tunnel_deregister(struct xfrm_tunnel *handler, unsigned short family);
1556 int xfrm6_tunnel_register(struct xfrm6_tunnel *handler, unsigned short family);
1557 int xfrm6_tunnel_deregister(struct xfrm6_tunnel *handler, unsigned short family);
1609 unsigned short family);
1655 sa_family_t family) in xfrm_addr_equal() argument
1657 switch (family) { in xfrm_addr_equal()
1801 unsigned int family) in xfrm_tunnel_check() argument
1805 switch(family) { in xfrm_tunnel_check()