/net/netfilter/ |
H A D | xt_ipcomp.c | 82 .family = NFPROTO_IPV4, 91 .family = NFPROTO_IPV6,
|
H A D | xt_tcpmss.c | 83 .family = NFPROTO_IPV4, 91 .family = NFPROTO_IPV6,
|
H A D | nft_compat.c | 94 switch (ctx->afi->family) { 116 par->family = ctx->afi->family; 211 par.family = ctx->afi->family; 301 switch (ctx->afi->family) { 323 par->family = ctx->afi->family; 383 par.family = ctx->afi->family; 432 nfnl_compat_fill_info(struct sk_buff *skb, u32 portid, u32 seq, u32 type, int event, u16 family, const char *name, int rev, int target) argument 565 __u32 rev, family; local 635 __u32 rev, family; local [all...] |
H A D | xt_tcpudp.c | 169 .family = NFPROTO_IPV4, 178 .family = NFPROTO_IPV6, 187 .family = NFPROTO_IPV4, 196 .family = NFPROTO_IPV6, 205 .family = NFPROTO_IPV4, 214 .family = NFPROTO_IPV6,
|
H A D | xt_recent.c | 69 u_int16_t family; member in struct:recent_entry 123 const union nf_inet_addr *addrp, u_int16_t family, 129 if (family == NFPROTO_IPV4) 135 if (e->family == family && 171 u_int16_t family, u_int8_t ttl) 188 e->family = family; 189 if (family == NFPROTO_IPV4) 240 if (par->family 122 recent_entry_lookup(const struct recent_table *table, const union nf_inet_addr *addrp, u_int16_t family, u_int8_t ttl) argument 170 recent_entry_init(struct recent_table *t, const union nf_inet_addr *addr, u_int16_t family, u_int8_t ttl) argument 543 u_int16_t family; local [all...] |
H A D | nf_tables_api.c | 27 * nft_register_afinfo - register nf_tables address family info 29 * @afi: address family info to register 31 * Register the address family for use with nf_tables. Returns zero on 45 * nft_unregister_afinfo - unregister nf_tables address family info 47 * @afi: address family info to unregister 49 * Unregister the address family for use with nf_tables. 59 static struct nft_af_info *nft_afinfo_lookup(struct net *net, int family) argument 64 if (afi->family == family) 71 nf_tables_afinfo_lookup(struct net *net, int family, boo argument 367 __nf_tables_chain_type_lookup(int family, const struct nlattr *nla) argument 408 nf_tables_fill_table_info(struct sk_buff *skb, struct net *net, u32 portid, u32 seq, int event, u32 flags, int family, const struct nft_table *table) argument 476 int family = nfmsg->nfgen_family; local 519 int family = nfmsg->nfgen_family; local 650 int family = nfmsg->nfgen_family; local 743 nft_flush(struct nft_ctx *ctx, int family) argument 779 int family = nfmsg->nfgen_family; local 917 nf_tables_fill_chain_info(struct sk_buff *skb, struct net *net, u32 portid, u32 seq, int event, u32 flags, int family, const struct nft_table *table, const struct nft_chain *chain) argument 1018 int family = nfmsg->nfgen_family; local 1064 int family = nfmsg->nfgen_family; local 1182 int family = nfmsg->nfgen_family; local 1401 int family = nfmsg->nfgen_family; local 1464 __nft_expr_type_get(u8 family, struct nlattr *nla) argument 1477 nft_expr_type_get(u8 family, struct nlattr *nla) argument 1651 nf_tables_fill_rule_info(struct sk_buff *skb, struct net *net, u32 portid, u32 seq, int event, u32 flags, int family, const struct nft_table *table, const struct nft_chain *chain, const struct nft_rule *rule) argument 1757 int family = nfmsg->nfgen_family; local 1808 int family = nfmsg->nfgen_family; local 2047 int family = nfmsg->nfgen_family, err = 0; local [all...] |
H A D | xt_hashlimit.c | 98 u_int8_t family; member in struct:xt_hashlimit_htable 219 u_int8_t family) 256 hinfo->family = family; 266 (family == NFPROTO_IPV4) ? 334 if (hinfo->family == NFPROTO_IPV4) 354 u_int8_t family) 361 hinfo->family == family) { 528 switch (hinfo->family) { 218 htable_create(struct net *net, struct xt_hashlimit_mtinfo1 *minfo, u_int8_t family) argument 352 htable_find_get(struct net *net, const char *name, u_int8_t family) argument 789 dl_seq_real_show(struct dsthash_ent *ent, u_int8_t family, struct seq_file *s) argument [all...] |
/net/atm/ |
H A D | proc.c | 71 int family; member in struct:vcc_state 74 static inline int compare_family(struct sock *sk, int family) argument 76 return !family || (sk->sk_family == family); 79 static int __vcc_walk(struct sock **sock, int family, int *bucket, loff_t l) argument 95 l -= compare_family(sk, family); 111 return __vcc_walk(&state->sk, state->family, &state->bucket, l) ? 116 int family, const struct seq_operations *ops) 124 state->family = family; 115 __vcc_seq_open(struct inode *inode, struct file *file, int family, const struct seq_operations *ops) argument [all...] |
H A D | common.h | 13 int vcc_create(struct net *net, struct socket *sock, int protocol, int family);
|
/net/netfilter/ipset/ |
H A D | ip_set_hash_gen.h | 157 #define SET_HOST_MASK(family) (family == AF_INET ? 32 : 128) 160 #define NLEN(family) (SET_HOST_MASK(family) + 1) 162 #define NLEN(family) SET_HOST_MASK(family) 166 #define NLEN(family) 0 391 memset(h->nets, 0, sizeof(struct net_prefixes) * NLEN(set->family)); 526 mtype_expire(set, h, NLEN(set->family), set->dsize); 555 mtype_expire(set, set->data, NLEN(set->family), se [all...] |
/net/ipv4/ |
H A D | ping.c | 473 static inline int ping_supported(int family, int type, int code) argument 475 return (family == AF_INET && type == ICMP_ECHO && code == 0) || 476 (family == AF_INET6 && type == ICMPV6_ECHO_REQUEST && code == 0); 486 int family; local 497 family = AF_INET; 502 family = AF_INET6; 512 if (!ping_supported(family, icmph->type, icmph->code)) 578 if ((family == AF_INET && !inet_sock->recverr) || 579 (family == AF_INET6 && !inet6_sk(sk)->recverr)) { 583 if (family 655 ping_common_sendmsg(int family, struct msghdr *msg, size_t len, void *user_icmph, size_t icmph_len) argument 858 int family = sk->sk_family; local 1063 ping_seq_start(struct seq_file *seq, loff_t *pos, sa_family_t family) argument [all...] |
H A D | tcp_metrics.c | 79 if (a->family != b->family) 81 if (a->family == AF_INET) 235 saddr.family = req->rsk_ops->family; 236 daddr.family = req->rsk_ops->family; 237 switch (daddr.family) { 275 saddr.family = AF_INET; 277 daddr.family [all...] |
/net/ipv6/ |
H A D | xfrm6_state.c | 36 sel->family = AF_INET6; 55 x->props.family = AF_INET6; 173 .family = AF_INET6,
|
/net/key/ |
H A D | af_key.c | 574 static inline int pfkey_sockaddr_len(sa_family_t family) argument 576 switch (family) { 618 unsigned short family; local 634 family = ((const struct sockaddr *)(addr + 1))->sa_family; 635 switch (family) { 651 return xfrm_state_lookup(net, DUMMY_MARK, xaddr, sa->sadb_sa_spi, proto, family); 657 pfkey_sockaddr_size(sa_family_t family) argument 659 return PFKEY_ALIGN8(pfkey_sockaddr_len(family)); 693 unsigned short family) 695 switch (family) { 691 pfkey_sockaddr_fill(const xfrm_address_t *xaddr, __be16 port, struct sockaddr *sa, unsigned short family) argument 1281 unsigned short family; local 1916 int family, socklen; local 2411 pfkey_sockaddr_pair_size(sa_family_t family) argument 2416 parse_sockaddr_pair(struct sockaddr *sa, int ext_len, xfrm_address_t *saddr, xfrm_address_t *daddr, u16 *family) argument 3421 int family = k->family; local 3442 set_ipsecrequest(struct sk_buff *skb, uint8_t proto, uint8_t mode, int level, uint32_t reqid, uint8_t family, const xfrm_address_t *src, const xfrm_address_t *dst) argument [all...] |
/net/ipv4/netfilter/ |
H A D | nf_tables_ipv4.c | 52 .family = NFPROTO_IPV4, 97 .family = NFPROTO_IPV4,
|
H A D | nft_masq_ipv4.c | 47 .family = NFPROTO_IPV4,
|
H A D | nft_reject_ipv4.c | 51 .family = NFPROTO_IPV4,
|
/net/ipv6/netfilter/ |
H A D | nf_tables_ipv6.c | 51 .family = NFPROTO_IPV6, 96 .family = NFPROTO_IPV6,
|
H A D | ip6t_MASQUERADE.c | 41 .family = NFPROTO_IPV6,
|
H A D | ip6t_eui64.c | 55 .family = NFPROTO_IPV6,
|
/net/bridge/ |
H A D | br_nf_core.c | 56 .family = AF_INET,
|
/net/bridge/netfilter/ |
H A D | ebt_802_3.c | 52 .family = NFPROTO_BRIDGE,
|
H A D | ebt_dnat.c | 52 .family = NFPROTO_BRIDGE,
|
H A D | ebt_nflog.c | 52 .family = NFPROTO_BRIDGE,
|
H A D | ebt_redirect.c | 58 .family = NFPROTO_BRIDGE,
|