Searched refs:PF_INET6 (Results 26 - 50 of 81) sorted by relevance

1234

/linux-master/net/dccp/
H A Dminisocks.c43 if (tw->tw_family == PF_INET6) {
/linux-master/net/sctp/
H A Dprotocol.c835 if (sctp_get_pf_specific(PF_INET6))
836 family = PF_INET6;
842 if (err < 0 && family == PF_INET6)
1203 case PF_INET6:
1219 case PF_INET6:
1726 MODULE_ALIAS("net-pf-" __stringify(PF_INET6) "-proto-132");
H A Dipv6.c779 newsk = sk_alloc(sock_net(sk), PF_INET6, GFP_KERNEL, sk->sk_prot, kern);
948 * of indirection lets us choose whether a PF_INET6 should
1045 * to determine whether a PF_INET6 socket really wants to have IPV4
1078 .family = PF_INET6,
1175 /* Register the SCTP specific PF_INET6 functions. */
1176 sctp_register_pf(&sctp_pf_inet6, PF_INET6);
H A Dassociola.c242 if (asoc->base.sk->sk_family == PF_INET6)
1580 flags = (PF_INET6 == sk->sk_family) ? SCTP_ADDR6_ALLOWED : 0;
/linux-master/net/netfilter/
H A Dxt_TCPMSS.c232 PF_INET6,
H A Dnf_conntrack_ftp.c240 (cmd->l3num == PF_INET6 && data[1] != '2')) {
/linux-master/tools/perf/trace/beauty/include/linux/
H A Dsocket.h257 #define PF_INET6 AF_INET6 macro
/linux-master/include/net/
H A Dudp_tunnel.h200 if (READ_ONCE(sk->sk_family) == PF_INET6)
/linux-master/include/linux/
H A Dsocket.h258 #define PF_INET6 AF_INET6 macro
/linux-master/security/smack/
H A Dsmack_lsm.c2421 if (sk->sk_family == PF_INET6) {
2675 ad.a.u.net->family = PF_INET6;
2907 if (sock->sk->sk_family == PF_INET6)
2986 if (sock->sk != NULL && sock->sk->sk_family == PF_INET6) {
3014 (!IS_ENABLED(CONFIG_IPV6) || sock->sk->sk_family != PF_INET6))
4154 if (family == PF_INET6 && skb->protocol == htons(ETH_P_IP))
4191 case PF_INET6:
4288 family = PF_INET6;
4314 case PF_INET6:
4342 (sk->sk_family != PF_INET && sk->sk_family != PF_INET6))
[all...]
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_filter.c562 if (family == PF_INET6) {
1649 fs->type ? PF_INET6 : PF_INET);
1653 fs->type ? PF_INET6 : PF_INET,
1724 fs->type ? PF_INET6 : PF_INET);
1727 fs->type ? PF_INET6 : PF_INET,
1837 f->fs.type ? PF_INET6 : PF_INET);
1841 f->fs.type ? PF_INET6 : PF_INET,
H A Dcxgb4_tc_u32.c170 inet_family = (protocol == htons(ETH_P_IPV6)) ? PF_INET6 : PF_INET;
H A Dcxgb4_tc_matchall.c314 fidx = cxgb4_get_free_ftid(dev, filter_type ? PF_INET6 : PF_INET,
/linux-master/net/sunrpc/
H A Dsvcsock.c211 case PF_INET6:
1464 if ((so->sk->sk_family != PF_INET) && (so->sk->sk_family != PF_INET6))
1521 family = PF_INET6;
1537 * If this is an PF_INET6 listener, we want to avoid
1541 if (family == PF_INET6)
/linux-master/net/ipv6/
H A Dinet6_hashtables.c100 sk->sk_family == PF_INET6) {
H A Dipv6_sockglue.c999 err = nf_setsockopt(sk, PF_INET6, optname, optval, optlen);
1494 err = nf_getsockopt(sk, PF_INET6, optname, optval, &len);
/linux-master/net/netlabel/
H A Dnetlabel_unlabeled.c1473 * it is possible (e.g. SCTP) to have family = PF_INET6 while
1476 if (family == PF_INET6 && ip_hdr(skb)->version == 4)
1494 case PF_INET6: {
/linux-master/tools/testing/selftests/net/
H A Dtxtimestamp.c918 do_listen(PF_INET6, &daddr6, sizeof(daddr6));
919 do_main(PF_INET6);
H A Dioam6_parser.c618 fd = socket(PF_INET6, SOCK_RAW,
/linux-master/security/tomoyo/
H A Dnetwork.c624 * Returns one of PF_INET, PF_INET6, PF_UNIX or 0.
635 case PF_INET6:
/linux-master/net/rxrpc/
H A Drxperf.c185 ret = sock_create_kern(&init_net, AF_RXRPC, SOCK_DGRAM, PF_INET6,
/linux-master/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_main.c616 &tcpv6_prot, PF_INET6);
/linux-master/fs/lockd/
H A Dsvc.c205 err = create_lockd_family(serv, net, PF_INET6, cred);
/linux-master/security/selinux/
H A Dhooks.c1171 case PF_INET6:
4475 case PF_INET6:
4690 /* If PF_INET or PF_INET6, check name_bind permission for the port. */
4692 if (family == PF_INET || family == PF_INET6) {
4706 * sk->sk_family = PF_INET6 with addr->sa_family = AF_INET.
4718 if (family == PF_INET6) {
4854 * sk->sk_family = PF_INET6 with addr->sa_family = AF_INET.
5105 if (family != PF_INET && family != PF_INET6)
5109 if (family == PF_INET6 && skb->protocol == htons(ETH_P_IP))
5203 family = PF_INET6;
[all...]
/linux-master/net/l2tp/
H A Dl2tp_core.c118 return sk->sk_family == PF_INET6 &&
1485 if (sk->sk_family != PF_INET && sk->sk_family != PF_INET6)

Completed in 302 milliseconds

1234