Searched refs:family (Results 51 - 75 of 316) sorted by relevance

1234567891011>>

/net/netfilter/
H A Dxt_ipcomp.c82 .family = NFPROTO_IPV4,
91 .family = NFPROTO_IPV6,
H A Dxt_tcpmss.c83 .family = NFPROTO_IPV4,
91 .family = NFPROTO_IPV6,
H A Dnft_compat.c94 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 Dxt_tcpudp.c169 .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 Dxt_recent.c69 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 Dnf_tables_api.c27 * 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 Dxt_hashlimit.c98 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 Dproc.c71 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 Dcommon.h13 int vcc_create(struct net *net, struct socket *sock, int protocol, int family);
/net/netfilter/ipset/
H A Dip_set_hash_gen.h157 #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 Dping.c473 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 Dtcp_metrics.c79 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 Dxfrm6_state.c36 sel->family = AF_INET6;
55 x->props.family = AF_INET6;
173 .family = AF_INET6,
/net/key/
H A Daf_key.c574 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 Dnf_tables_ipv4.c52 .family = NFPROTO_IPV4,
97 .family = NFPROTO_IPV4,
H A Dnft_masq_ipv4.c47 .family = NFPROTO_IPV4,
H A Dnft_reject_ipv4.c51 .family = NFPROTO_IPV4,
/net/ipv6/netfilter/
H A Dnf_tables_ipv6.c51 .family = NFPROTO_IPV6,
96 .family = NFPROTO_IPV6,
H A Dip6t_MASQUERADE.c41 .family = NFPROTO_IPV6,
H A Dip6t_eui64.c55 .family = NFPROTO_IPV6,
/net/bridge/
H A Dbr_nf_core.c56 .family = AF_INET,
/net/bridge/netfilter/
H A Debt_802_3.c52 .family = NFPROTO_BRIDGE,
H A Debt_dnat.c52 .family = NFPROTO_BRIDGE,
H A Debt_nflog.c52 .family = NFPROTO_BRIDGE,
H A Debt_redirect.c58 .family = NFPROTO_BRIDGE,

Completed in 250 milliseconds

1234567891011>>