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))
152 u8 family; member
199 u16 family; member
330 unsigned short family,
357 int xfrm_policy_register_afinfo(const struct xfrm_policy_afinfo *afinfo, int family);
370 u8 family; member
391 struct xfrm_state_afinfo *xfrm_state_get_afinfo(unsigned int family);
392 struct xfrm_state_afinfo *xfrm_state_afinfo_get_rcu(unsigned int family);
395 u8 family; member
425 int xfrm_register_type(const struct xfrm_type *type, unsigned short family);
426 void xfrm_unregister_type(const struct xfrm_type *type, unsigned short family);
436 int xfrm_register_type_offload(const struct xfrm_type_offload *type, unsigned short family);
437 void xfrm_unregister_type_offload(const struct xfrm_type_offload *type, unsigned short family);
439 static inline int xfrm_af2proto(unsigned int family) in xfrm_af2proto() argument
441 switch(family) { in xfrm_af2proto()
453 if ((ipproto == IPPROTO_IPIP && x->props.family == AF_INET) || in xfrm_ip2inner_mode()
454 (ipproto == IPPROTO_IPV6 && x->props.family == AF_INET6)) in xfrm_ip2inner_mode()
540 u16 family; member
558 u16 family; member
683 unsigned int family; member
726 void xfrm_audit_state_notfound_simple(struct sk_buff *skb, u16 family);
727 void xfrm_audit_state_notfound(struct sk_buff *skb, u16 family, __be32 net_spi,
764 u16 family) in xfrm_audit_state_notfound_simple() argument
768 static inline void xfrm_audit_state_notfound(struct sk_buff *skb, u16 family, in xfrm_audit_state_notfound() argument
911 const struct flowi *fl, unsigned short family);
1068 xfrm_addr_any(const xfrm_address_t *addr, unsigned short family) in xfrm_addr_any() argument
1070 switch (family) { in xfrm_addr_any()
1094 xfrm_state_addr_cmp(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x, unsigned short family) in xfrm_state_addr_cmp() argument
1096 switch (family) { in xfrm_state_addr_cmp()
1130 unsigned short family);
1142 int dir, unsigned short family) in __xfrm_check_dev_nopolicy() argument
1144 if (dir != XFRM_POLICY_OUT && family == AF_INET) { in __xfrm_check_dev_nopolicy()
1155 unsigned int family, int reverse) in __xfrm_policy_check2() argument
1163 return __xfrm_policy_check(sk, ndir, skb, family); in __xfrm_policy_check2()
1173 __xfrm_check_dev_nopolicy(skb, dir, family) || in __xfrm_policy_check2()
1174 __xfrm_policy_check(sk, ndir, skb, family); in __xfrm_policy_check2()
1177 … inline int xfrm_policy_check(struct sock *sk, int dir, struct sk_buff *skb, unsigned short family) in xfrm_policy_check() argument
1179 return __xfrm_policy_check2(sk, dir, skb, family, 0); in xfrm_policy_check()
1205 unsigned int family, int reverse);
1208 unsigned int family) in xfrm_decode_session() argument
1210 return __xfrm_decode_session(skb, fl, family, 0); in xfrm_decode_session()
1215 unsigned int family) in xfrm_decode_session_reverse() argument
1217 return __xfrm_decode_session(skb, fl, family, 1); in xfrm_decode_session_reverse()
1220 int __xfrm_route_forward(struct sk_buff *skb, unsigned short family);
1222 static inline int xfrm_route_forward(struct sk_buff *skb, unsigned short family) in xfrm_route_forward() argument
1231 __xfrm_route_forward(skb, family); in xfrm_route_forward()
1289 … inline int xfrm_policy_check(struct sock *sk, int dir, struct sk_buff *skb, unsigned short family) in xfrm_policy_check() argument
1295 unsigned int family) in xfrm_decode_session_reverse() argument
1312 xfrm_address_t *xfrm_flowi_daddr(const struct flowi *fl, unsigned short family) in xfrm_flowi_daddr() argument
1314 switch (family){ in xfrm_flowi_daddr()
1324 xfrm_address_t *xfrm_flowi_saddr(const struct flowi *fl, unsigned short family) in xfrm_flowi_saddr() argument
1326 switch (family){ in xfrm_flowi_saddr()
1338 unsigned short family) in xfrm_flowi_addr_get() argument
1340 switch(family) { in xfrm_flowi_addr_get()
1377 unsigned short family) in xfrm_state_addr_check() argument
1379 switch (family) { in xfrm_state_addr_check()
1390 unsigned short family) in xfrm_state_addr_flow_check() argument
1392 switch (family) { in xfrm_state_addr_flow_check()
1565 unsigned short family, u32 if_id);
1569 unsigned short family,
1572 unsigned short family);
1596 u8 proto, unsigned short family);
1601 unsigned short family);
1604 unsigned short family);
1606 unsigned short family);
1609 int n, unsigned short family) in xfrm_tmpl_sort() argument
1614 int n, unsigned short family) in xfrm_state_sort() argument
1675 XFRM_SPI_SKB_CB(skb)->family = AF_INET; in xfrm4_rcv_spi()
1683 int xfrm4_tunnel_register(struct xfrm_tunnel *handler, unsigned short family);
1684 int xfrm4_tunnel_deregister(struct xfrm_tunnel *handler, unsigned short family);
1699 int xfrm6_tunnel_register(struct xfrm6_tunnel *handler, unsigned short family);
1700 int xfrm6_tunnel_deregister(struct xfrm6_tunnel *handler, unsigned short family);
1722 int family, u32 mark);
1752 unsigned short family);
1803 sa_family_t family) in xfrm_addr_equal() argument
1805 switch (family) { in xfrm_addr_equal()
2099 unsigned int family) in xfrm_tunnel_check() argument
2103 switch(family) { in xfrm_tunnel_check()