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

1234567891011>>

/net/ipv4/
H A Dping.c468 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 Dinetpeer.c97 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 Dtcp_metrics.c82 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 Dxt_TCPMSS.c140 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 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) ?
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 Dxt_AUDIT.c147 if (par->family == NFPROTO_BRIDGE) {
160 switch (par->family) {
204 .family = NFPROTO_UNSPEC,
212 .family = NFPROTO_BRIDGE,
H A Dxt_addrtype.c158 if (par->family == NFPROTO_IPV6)
199 if (par->family == NFPROTO_IPV6) {
220 .family = NFPROTO_IPV4,
227 .family = NFPROTO_UNSPEC,
H A Dxt_bpf.c54 .family = NFPROTO_UNSPEC,
H A Dxt_devgroup.c67 .family = NFPROTO_UNSPEC,
H A Dxt_mac.c47 .family = NFPROTO_UNSPEC,
H A Dxt_nfacct.c57 .family = NFPROTO_UNSPEC,
/net/core/
H A Dflow.c34 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 Dfib_rules.c67 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 Dcommon.h13 int vcc_create(struct net *net, struct socket *sock, int protocol, int family);
H A Dpvc.c107 .family = PF_ATMPVC,
143 .family = PF_ATMPVC,
150 * Initialize the ATM PVC protocol family
/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,
/net/ipv6/netfilter/
H A Dip6t_eui64.c55 .family = NFPROTO_IPV6,
H A Dip6t_NPT.c116 .family = NFPROTO_IPV6,
127 .family = NFPROTO_IPV6,
H A Dip6t_hbh.c188 .family = NFPROTO_IPV6,
196 .family = NFPROTO_IPV6,
/net/nfc/
H A Daf_nfc.c55 .family = PF_NFC,
/net/rxrpc/
H A Dar-peer.c81 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 Dsock.c160 .family = PF_BLUETOOTH,
218 .family = PF_BLUETOOTH,

Completed in 207 milliseconds

1234567891011>>