/net/ipv4/ |
H A D | ping.c | 468 static inline int ping_supported(int family, int type, int code) argument 470 return (family == AF_INET && type == ICMP_ECHO && code == 0) || 471 (family == AF_INET6 && type == ICMPV6_ECHO_REQUEST && code == 0); 481 int family; local 492 family = AF_INET; 497 family = AF_INET6; 507 if (!ping_supported(family, icmph->type, icmph->code)) 573 if ((family == AF_INET && !inet_sock->recverr) || 574 (family == AF_INET6 && !inet6_sk(sk)->recverr)) { 578 if (family 650 ping_common_sendmsg(int family, struct msghdr *msg, size_t len, void *user_icmph, size_t icmph_len) argument 851 int family = sk->sk_family; local [all...] |
H A D | inetpeer.c | 97 static atomic_t *inetpeer_seq_ptr(int family) argument 99 return (family == AF_INET ? &v4_seq : &v6_seq); 102 static inline void flush_check(struct inet_peer_base *base, int family) argument 104 atomic_t *fp = inetpeer_seq_ptr(family); 112 void inetpeer_invalidate_family(int family) argument 114 atomic_t *fp = inetpeer_seq_ptr(family); 203 int i, n = (a->family == AF_INET ? 1 : 4); 468 flush_check(base, daddr->family); 508 (daddr->family == AF_INET) ?
|
H A D | tcp_metrics.c | 82 if (a->family != b->family) 84 if (a->family == AF_INET) 215 addr.family = req->rsk_ops->family; 216 switch (addr.family) { 249 addr.family = tw->tw_family; 250 switch (addr.family) { 285 addr.family = sk->sk_family; 286 switch (addr.family) { [all...] |
/net/netfilter/ |
H A D | xt_TCPMSS.c | 140 if (par->family == NFPROTO_IPV4) 165 unsigned int family) 172 if (family == PF_INET) { 183 ai = nf_get_afinfo(family); 304 .family = NFPROTO_IPV4, 314 .family = NFPROTO_IPV6, 164 tcpmss_reverse_mtu(const struct sk_buff *skb, unsigned int family) argument
|
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) ? 335 if (hinfo->family == NFPROTO_IPV4) 350 u_int8_t family) 357 hinfo->family == family) { 524 switch (hinfo->family) { 218 htable_create(struct net *net, struct xt_hashlimit_mtinfo1 *minfo, u_int8_t family) argument 348 htable_find_get(struct net *net, const char *name, u_int8_t family) argument 785 dl_seq_real_show(struct dsthash_ent *ent, u_int8_t family, struct seq_file *s) argument [all...] |
H A D | xt_AUDIT.c | 147 if (par->family == NFPROTO_BRIDGE) { 160 switch (par->family) { 204 .family = NFPROTO_UNSPEC, 212 .family = NFPROTO_BRIDGE,
|
H A D | xt_addrtype.c | 158 if (par->family == NFPROTO_IPV6) 199 if (par->family == NFPROTO_IPV6) { 220 .family = NFPROTO_IPV4, 227 .family = NFPROTO_UNSPEC,
|
H A D | xt_bpf.c | 54 .family = NFPROTO_UNSPEC,
|
H A D | xt_devgroup.c | 67 .family = NFPROTO_UNSPEC,
|
H A D | xt_mac.c | 47 .family = NFPROTO_UNSPEC,
|
H A D | xt_nfacct.c | 57 .family = NFPROTO_UNSPEC,
|
/net/core/ |
H A D | flow.c | 34 u16 family; member in struct:flow_cache_entry 208 flow_cache_lookup(struct net *net, const struct flowi *key, u16 family, u8 dir, argument 224 keysize = flow_key_size(family); 239 tfle->family == family && 254 fle->family = family; 280 flo = resolver(net, key, family, dir, flo, ctx);
|
H A D | fib_rules.c | 67 static struct fib_rules_ops *lookup_rules_ops(struct net *net, int family) argument 73 if (ops->family == family) { 115 if (ops->family == o->family) 303 ops = lookup_rules_ops(net, frh->family); 465 ops = lookup_rules_ops(net, frh->family); 593 frh->family = ops->family; 672 int idx = 0, family; local [all...] |
/net/atm/ |
H A D | common.h | 13 int vcc_create(struct net *net, struct socket *sock, int protocol, int family);
|
H A D | pvc.c | 107 .family = PF_ATMPVC, 143 .family = PF_ATMPVC, 150 * Initialize the ATM PVC protocol family
|
/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,
|
/net/ipv6/netfilter/ |
H A D | ip6t_eui64.c | 55 .family = NFPROTO_IPV6,
|
H A D | ip6t_NPT.c | 116 .family = NFPROTO_IPV6, 127 .family = NFPROTO_IPV6,
|
H A D | ip6t_hbh.c | 188 .family = NFPROTO_IPV6, 196 .family = NFPROTO_IPV6,
|
/net/nfc/ |
H A D | af_nfc.c | 55 .family = PF_NFC,
|
/net/rxrpc/ |
H A D | ar-peer.c | 81 if (srx->transport.family == AF_INET) { 171 peer->srx.transport.family, 205 if (local->srx.transport.family == AF_INET && 211 peer->srx.transport.family == AF_INET &&
|
/net/bluetooth/bnep/ |
H A D | sock.c | 160 .family = PF_BLUETOOTH, 218 .family = PF_BLUETOOTH,
|