Lines Matching refs:af
71 ip_vs_fill_iph_skb_off(int af, const struct sk_buff *skb, int offset, in ip_vs_fill_iph_skb_off() argument
78 if (af == AF_INET6) { in ip_vs_fill_iph_skb_off()
115 ip_vs_fill_iph_skb_icmp(int af, const struct sk_buff *skb, int offset, in ip_vs_fill_iph_skb_icmp() argument
123 return ip_vs_fill_iph_skb_off(af, skb, offset, hdr_flags, iphdr); in ip_vs_fill_iph_skb_icmp()
127 ip_vs_fill_iph_skb(int af, const struct sk_buff *skb, bool inverse, in ip_vs_fill_iph_skb() argument
135 return ip_vs_fill_iph_skb_off(af, skb, skb_network_offset(skb), in ip_vs_fill_iph_skb()
151 static inline void ip_vs_addr_copy(int af, union nf_inet_addr *dst, in ip_vs_addr_copy() argument
155 if (af == AF_INET6) in ip_vs_addr_copy()
162 static inline void ip_vs_addr_set(int af, union nf_inet_addr *dst, in ip_vs_addr_set() argument
166 if (af == AF_INET6) { in ip_vs_addr_set()
177 static inline int ip_vs_addr_equal(int af, const union nf_inet_addr *a, in ip_vs_addr_equal() argument
181 if (af == AF_INET6) in ip_vs_addr_equal()
192 static inline const char *ip_vs_dbg_addr(int af, char *buf, size_t buf_len, in ip_vs_dbg_addr() argument
198 if (af == AF_INET6) in ip_vs_dbg_addr()
226 #define IP_VS_DBG_ADDR(af, addr) \ argument
227 ip_vs_dbg_addr(af, ip_vs_dbg_buf, \
241 #define IP_VS_DBG_PKT(level, af, pp, skb, ofs, msg) \ argument
244 pp->debug_packet(af, pp, skb, ofs, msg); \
246 #define IP_VS_DBG_RL_PKT(level, af, pp, skb, ofs, msg) \ argument
250 pp->debug_packet(af, pp, skb, ofs, msg); \
257 #define IP_VS_DBG_PKT(level, af, pp, skb, ofs, msg) do {} while (0) argument
258 #define IP_VS_DBG_RL_PKT(level, af, pp, skb, ofs, msg) do {} while (0) argument
492 int af, struct sk_buff *skb,
499 int af,
505 int af,
527 void (*debug_packet)(int af, struct ip_vs_protocol *pp,
555 u16 af; member
569 u16 af; /* address family */ member
634 u16 af; member
663 u16 af; member
680 u16 af; /* address family */ member
721 u16 af; /* address family */ member
1305 static inline void ip_vs_conn_fill_param(struct netns_ipvs *ipvs, int af, int protocol, in ip_vs_conn_fill_param() argument
1313 p->af = af; in ip_vs_conn_fill_param()
1326 struct ip_vs_conn * ip_vs_conn_in_get_proto(struct netns_ipvs *ipvs, int af,
1332 struct ip_vs_conn * ip_vs_conn_out_get_proto(struct netns_ipvs *ipvs, int af,
1374 IP_VS_DBG_ADDR(cp->af, &cp->caddr), in ip_vs_control_del()
1376 IP_VS_DBG_ADDR(cp->af, &cp->vaddr), in ip_vs_control_del()
1384 IP_VS_DBG_ADDR(cp->af, &cp->caddr), in ip_vs_control_del()
1386 IP_VS_DBG_ADDR(cp->af, &ctl_cp->caddr), in ip_vs_control_del()
1393 IP_VS_DBG_ADDR(cp->af, &cp->caddr), in ip_vs_control_del()
1395 IP_VS_DBG_ADDR(cp->af, &cp->vaddr), in ip_vs_control_del()
1409 IP_VS_DBG_ADDR(cp->af, &cp->caddr), in ip_vs_control_add()
1411 IP_VS_DBG_ADDR(cp->af, &cp->vaddr), in ip_vs_control_add()
1419 IP_VS_DBG_ADDR(cp->af, &cp->caddr), in ip_vs_control_add()
1421 IP_VS_DBG_ADDR(cp->af, &ctl_cp->caddr), in ip_vs_control_add()
1491 void ip_vs_tcpudp_debug_packet(int af, struct ip_vs_protocol *pp,
1527 ip_vs_service_find(struct netns_ipvs *ipvs, int af, __u32 fwmark, __u16 protocol,
1530 bool ip_vs_has_real_service(struct netns_ipvs *ipvs, int af, __u16 protocol,
1534 ip_vs_find_real_service(struct netns_ipvs *ipvs, int af, __u16 protocol,
1536 struct ip_vs_dest *ip_vs_find_tunnel(struct netns_ipvs *ipvs, int af,
1816 int afmask = (svc->af == AF_INET6) ? 2 : 1; in ip_vs_register_conntrack()
1820 ret = nf_ct_netns_get(svc->ipvs->net, svc->af); in ip_vs_register_conntrack()
1833 int afmask = (svc->af == AF_INET6) ? 2 : 1; in ip_vs_unregister_conntrack()
1836 nf_ct_netns_put(svc->ipvs->net, svc->af); in ip_vs_unregister_conntrack()
1842 int ip_vs_register_hooks(struct netns_ipvs *ipvs, unsigned int af);
1843 void ip_vs_unregister_hooks(struct netns_ipvs *ipvs, unsigned int af);