• Home
  • Raw
  • Download

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))
139 u8 family; member
179 u16 family; member
318 unsigned short family);
344 int xfrm_policy_register_afinfo(const struct xfrm_policy_afinfo *afinfo, int family);
357 u8 family; member
378 struct xfrm_state_afinfo *xfrm_state_get_afinfo(unsigned int family);
379 struct xfrm_state_afinfo *xfrm_state_afinfo_get_rcu(unsigned int family);
382 u8 family; member
413 int xfrm_register_type(const struct xfrm_type *type, unsigned short family);
414 void xfrm_unregister_type(const struct xfrm_type *type, unsigned short family);
425 int xfrm_register_type_offload(const struct xfrm_type_offload *type, unsigned short family);
426 void xfrm_unregister_type_offload(const struct xfrm_type_offload *type, unsigned short family);
428 static inline int xfrm_af2proto(unsigned int family) in xfrm_af2proto() argument
430 switch(family) { in xfrm_af2proto()
442 if ((ipproto == IPPROTO_IPIP && x->props.family == AF_INET) || in xfrm_ip2inner_mode()
443 (ipproto == IPPROTO_IPV6 && x->props.family == AF_INET6)) in xfrm_ip2inner_mode()
529 u16 family; member
545 u16 family; member
670 unsigned int family; member
713 void xfrm_audit_state_notfound_simple(struct sk_buff *skb, u16 family);
714 void xfrm_audit_state_notfound(struct sk_buff *skb, u16 family, __be32 net_spi,
751 u16 family) in xfrm_audit_state_notfound_simple() argument
755 static inline void xfrm_audit_state_notfound(struct sk_buff *skb, u16 family, in xfrm_audit_state_notfound() argument
898 const struct flowi *fl, unsigned short family);
1053 xfrm_addr_any(const xfrm_address_t *addr, unsigned short family) in xfrm_addr_any() argument
1055 switch (family) { in xfrm_addr_any()
1079 xfrm_state_addr_cmp(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x, unsigned short family) in xfrm_state_addr_cmp() argument
1081 switch (family) { in xfrm_state_addr_cmp()
1092 unsigned short family);
1104 int dir, unsigned short family) in __xfrm_check_dev_nopolicy() argument
1106 if (dir != XFRM_POLICY_OUT && family == AF_INET) { in __xfrm_check_dev_nopolicy()
1117 unsigned int family, int reverse) in __xfrm_policy_check2() argument
1123 return __xfrm_policy_check(sk, ndir, skb, family); in __xfrm_policy_check2()
1126 __xfrm_check_dev_nopolicy(skb, dir, family) || in __xfrm_policy_check2()
1127 __xfrm_policy_check(sk, ndir, skb, family); in __xfrm_policy_check2()
1130 … inline int xfrm_policy_check(struct sock *sk, int dir, struct sk_buff *skb, unsigned short family) in xfrm_policy_check() argument
1132 return __xfrm_policy_check2(sk, dir, skb, family, 0); in xfrm_policy_check()
1158 unsigned int family, int reverse);
1161 unsigned int family) in xfrm_decode_session() argument
1163 return __xfrm_decode_session(skb, fl, family, 0); in xfrm_decode_session()
1168 unsigned int family) in xfrm_decode_session_reverse() argument
1170 return __xfrm_decode_session(skb, fl, family, 1); in xfrm_decode_session_reverse()
1173 int __xfrm_route_forward(struct sk_buff *skb, unsigned short family);
1175 static inline int xfrm_route_forward(struct sk_buff *skb, unsigned short family) in xfrm_route_forward() argument
1184 __xfrm_route_forward(skb, family); in xfrm_route_forward()
1242 … inline int xfrm_policy_check(struct sock *sk, int dir, struct sk_buff *skb, unsigned short family) in xfrm_policy_check() argument
1248 unsigned int family) in xfrm_decode_session_reverse() argument
1265 xfrm_address_t *xfrm_flowi_daddr(const struct flowi *fl, unsigned short family) in xfrm_flowi_daddr() argument
1267 switch (family){ in xfrm_flowi_daddr()
1277 xfrm_address_t *xfrm_flowi_saddr(const struct flowi *fl, unsigned short family) in xfrm_flowi_saddr() argument
1279 switch (family){ in xfrm_flowi_saddr()
1291 unsigned short family) in xfrm_flowi_addr_get() argument
1293 switch(family) { in xfrm_flowi_addr_get()
1330 unsigned short family) in xfrm_state_addr_check() argument
1332 switch (family) { in xfrm_state_addr_check()
1343 unsigned short family) in xfrm_state_addr_flow_check() argument
1345 switch (family) { in xfrm_state_addr_flow_check()
1518 unsigned short family, u32 if_id);
1522 unsigned short family,
1525 unsigned short family);
1532 u8 proto, unsigned short family);
1537 unsigned short family);
1540 unsigned short family);
1542 unsigned short family);
1545 int n, unsigned short family) in xfrm_tmpl_sort() argument
1550 int n, unsigned short family) in xfrm_state_sort() argument
1609 XFRM_SPI_SKB_CB(skb)->family = AF_INET; in xfrm4_rcv_spi()
1618 int xfrm4_tunnel_register(struct xfrm_tunnel *handler, unsigned short family);
1619 int xfrm4_tunnel_deregister(struct xfrm_tunnel *handler, unsigned short family);
1634 int xfrm6_tunnel_register(struct xfrm6_tunnel *handler, unsigned short family);
1635 int xfrm6_tunnel_deregister(struct xfrm6_tunnel *handler, unsigned short family);
1660 int family, u32 mark);
1689 unsigned short family);
1739 sa_family_t family) in xfrm_addr_equal() argument
1741 switch (family) { in xfrm_addr_equal()
2011 unsigned int family) in xfrm_tunnel_check() argument
2015 switch(family) { in xfrm_tunnel_check()