sk_protocol 89 drivers/crypto/chelsio/chtls/chtls_main.c if (sk->sk_protocol != IPPROTO_TCP) sk_protocol 113 drivers/crypto/chelsio/chtls/chtls_main.c if (sk->sk_protocol != IPPROTO_TCP) sk_protocol 190 drivers/infiniband/hw/usnic/usnic_transport.c *proto = sock->sk->sk_protocol; sk_protocol 117 drivers/isdn/mISDN/socket.c sk->sk_protocol); sk_protocol 133 drivers/isdn/mISDN/socket.c if ((sk->sk_protocol == ISDN_P_LAPD_TE) || sk_protocol 134 drivers/isdn/mISDN/socket.c (sk->sk_protocol == ISDN_P_LAPD_NT)) { sk_protocol 176 drivers/isdn/mISDN/socket.c sk->sk_protocol); sk_protocol 209 drivers/isdn/mISDN/socket.c if ((sk->sk_protocol == ISDN_P_LAPD_TE) || sk_protocol 210 drivers/isdn/mISDN/socket.c (sk->sk_protocol == ISDN_P_LAPD_NT)) sk_protocol 244 drivers/isdn/mISDN/socket.c switch (sk->sk_protocol) { sk_protocol 296 drivers/isdn/mISDN/socket.c if ((sk->sk_protocol & ~ISDN_P_B_MASK) == ISDN_P_B_START) { sk_protocol 314 drivers/isdn/mISDN/socket.c if (sk->sk_protocol != ISDN_P_LAPD_NT) { sk_protocol 327 drivers/isdn/mISDN/socket.c if (sk->sk_protocol != ISDN_P_LAPD_NT sk_protocol 328 drivers/isdn/mISDN/socket.c && sk->sk_protocol != ISDN_P_LAPD_TE) { sk_protocol 491 drivers/isdn/mISDN/socket.c if (sk->sk_protocol < ISDN_P_B_START) { sk_protocol 498 drivers/isdn/mISDN/socket.c if (csk->sk_protocol >= ISDN_P_B_START) sk_protocol 500 drivers/isdn/mISDN/socket.c if (IS_ISDN_P_TE(csk->sk_protocol) sk_protocol 501 drivers/isdn/mISDN/socket.c == IS_ISDN_P_TE(sk->sk_protocol)) sk_protocol 513 drivers/isdn/mISDN/socket.c switch (sk->sk_protocol) { sk_protocol 520 drivers/isdn/mISDN/socket.c sk->sk_protocol, maddr); sk_protocol 527 drivers/isdn/mISDN/socket.c sk->sk_protocol, maddr); sk_protocol 536 drivers/isdn/mISDN/socket.c sk->sk_protocol, maddr); sk_protocol 544 drivers/isdn/mISDN/socket.c _pms(sk)->ch.protocol = sk->sk_protocol; sk_protocol 610 drivers/isdn/mISDN/socket.c sk->sk_protocol = protocol; sk_protocol 768 drivers/isdn/mISDN/socket.c sk->sk_protocol = protocol; sk_protocol 399 drivers/net/gtp.c fl4->flowi4_proto = sk->sk_protocol; sk_protocol 808 drivers/net/gtp.c if (sk->sk_protocol != IPPROTO_UDP || sk_protocol 555 drivers/net/ppp/pppoe.c sk->sk_protocol = PX_PROTO_OE; sk_protocol 92 drivers/net/ppp/pppox.c rc = pppox_protos[sk->sk_protocol]->ioctl ? sk_protocol 93 drivers/net/ppp/pppox.c pppox_protos[sk->sk_protocol]->ioctl(sock, cmd, arg) : -ENOTTY; sk_protocol 553 drivers/net/ppp/pptp.c sk->sk_protocol = PX_PROTO_PPTP; sk_protocol 1826 fs/ocfs2/cluster/tcp.c sock->sk->sk_protocol, &new_sock); sk_protocol 44 include/linux/sock_diag.h switch (sk->sk_protocol) { sk_protocol 56 include/linux/sock_diag.h switch (sk->sk_protocol) { sk_protocol 144 include/linux/udp.h #define IS_UDPLITE(__sk) (__sk->sk_protocol == IPPROTO_UDPLITE) sk_protocol 460 include/net/sock.h sk_protocol : 8, sk_protocol 167 include/trace/events/sock.h __entry->protocol = sk->sk_protocol; sk_protocol 216 kernel/bpf/reuseport_array.c if (nsk->sk_protocol != IPPROTO_UDP && nsk->sk_protocol != IPPROTO_TCP) sk_protocol 248 net/ax25/af_ax25.c s->sk->sk_protocol == proto && sk_protocol 881 net/ax25/af_ax25.c sk->sk_protocol = protocol; sk_protocol 917 net/ax25/af_ax25.c sk->sk_protocol = osk->sk_protocol; sk_protocol 1572 net/ax25/af_ax25.c *(u8 *)skb_push(skb, 1) = sk->sk_protocol; sk_protocol 142 net/ax25/ax25_in.c if ((!ax25->pidincl && ax25->sk->sk_protocol == pid) || sk_protocol 221 net/bluetooth/bnep/sock.c sk->sk_protocol = protocol; sk_protocol 224 net/bluetooth/cmtp/sock.c sk->sk_protocol = protocol; sk_protocol 2017 net/bluetooth/hci_sock.c sk->sk_protocol = protocol; sk_protocol 272 net/bluetooth/hidp/sock.c sk->sk_protocol = protocol; sk_protocol 1605 net/bluetooth/l2cap_sock.c sk->sk_protocol = proto; sk_protocol 306 net/bluetooth/rfcomm/sock.c sk->sk_protocol = proto; sk_protocol 486 net/bluetooth/sco.c sk->sk_protocol = proto; sk_protocol 560 net/caif/caif_socket.c if (len > cf_sk->maxframe && cf_sk->sk.sk_protocol != CAIFPROTO_RFM) sk_protocol 698 net/caif/caif_socket.c if (cf_sk->sk.sk_protocol != CAIFPROTO_UTIL) sk_protocol 1068 net/caif/caif_socket.c sk->sk_protocol = (unsigned char) protocol; sk_protocol 1589 net/core/filter.c (sk->sk_protocol != IPPROTO_UDP && sk_protocol 1590 net/core/filter.c sk->sk_protocol != IPPROTO_TCP) || sk_protocol 5697 net/core/filter.c if (sk_fullsock(sk) && sk->sk_protocol == IPPROTO_TCP) sk_protocol 5805 net/core/filter.c if (sk->sk_protocol != IPPROTO_TCP || sk->sk_state != TCP_LISTEN) sk_protocol 5871 net/core/filter.c if (sk->sk_protocol != IPPROTO_TCP || sk->sk_state != TCP_LISTEN) sk_protocol 8746 net/core/filter.c if (sk->sk_protocol != selected_sk->sk_protocol) sk_protocol 766 net/core/skbuff.c level, sk->sk_family, sk->sk_type, sk->sk_protocol); sk_protocol 4522 net/core/skbuff.c if (sk->sk_protocol == IPPROTO_TCP && sk_protocol 4591 net/core/skbuff.c sk->sk_protocol == IPPROTO_TCP && sk_protocol 941 net/core/sock.c if (sk->sk_protocol == IPPROTO_TCP && sk_protocol 1141 net/core/sock.c sk->sk_protocol == IPPROTO_TCP) || sk_protocol 1143 net/core/sock.c sk->sk_protocol == IPPROTO_UDP))) sk_protocol 1279 net/core/sock.c v.val = sk->sk_protocol; sk_protocol 402 net/core/sock_map.c sk->sk_protocol == IPPROTO_TCP; sk_protocol 462 net/dccp/ipv4.c .flowi4_proto = sk->sk_protocol, sk_protocol 480 net/decnet/af_decnet.c sk->sk_protocol = 0; sk_protocol 694 net/decnet/af_decnet.c sk->sk_protocol = protocol; sk_protocol 350 net/ipv4/af_inet.c sk->sk_protocol = protocol; sk_protocol 675 net/ipv4/af_inet.c int writebias = (sk->sk_protocol == IPPROTO_TCP) && sk_protocol 1206 net/ipv4/af_inet.c sk->sk_bound_dev_if, sk->sk_protocol, sk_protocol 1259 net/ipv4/af_inet.c sk->sk_protocol, RT_CONN_FLAGS(sk), sk_protocol 50 net/ipv4/datagram.c sk->sk_protocol, sk_protocol 121 net/ipv4/datagram.c inet->inet_sport, sk->sk_protocol, sk_protocol 475 net/ipv4/inet_connection_sock.c if (sk->sk_protocol == IPPROTO_TCP && sk_protocol 580 net/ipv4/inet_connection_sock.c sk->sk_protocol, inet_sk_flowi_flags(sk), sk_protocol 618 net/ipv4/inet_connection_sock.c sk->sk_protocol, inet_sk_flowi_flags(sk), sk_protocol 933 net/ipv4/inet_connection_sock.c if (sk->sk_protocol == IPPROTO_TCP && tcp_rsk(req)->tfo_listener) { sk_protocol 1093 net/ipv4/inet_connection_sock.c inet->inet_sport, sk->sk_protocol, sk_protocol 228 net/ipv4/inet_diag.c if (nla_put_u8(skb, INET_DIAG_PROTOCOL, sk->sk_protocol)) sk_protocol 1201 net/ipv4/inet_diag.c if ((err = nla_put_u8(skb, INET_DIAG_PROTOCOL, sk->sk_protocol))) { sk_protocol 1206 net/ipv4/inet_diag.c handler = inet_diag_lock_handler(sk->sk_protocol); sk_protocol 162 net/ipv4/ip_output.c iph->protocol = sk->sk_protocol; sk_protocol 492 net/ipv4/ip_output.c sk->sk_protocol, sk_protocol 515 net/ipv4/ip_output.c iph->protocol = sk->sk_protocol; sk_protocol 1530 net/ipv4/ip_output.c iph->protocol = sk->sk_protocol; sk_protocol 1704 net/ipv4/ip_output.c sk->sk_protocol = ip_hdr(skb)->protocol; sk_protocol 785 net/ipv4/ping.c RT_SCOPE_UNIVERSE, sk->sk_protocol, sk_protocol 628 net/ipv4/raw.c hdrincl ? IPPROTO_RAW : sk->sk_protocol, sk_protocol 536 net/ipv4/route.c prot = inet->hdrincl ? IPPROTO_RAW : sk->sk_protocol; sk_protocol 570 net/ipv4/route.c inet->hdrincl ? IPPROTO_RAW : sk->sk_protocol, sk_protocol 886 net/ipv4/udp.c sk->sk_protocol, csum); sk_protocol 1138 net/ipv4/udp.c RT_SCOPE_UNIVERSE, sk->sk_protocol, sk_protocol 201 net/ipv6/af_inet6.c sk->sk_protocol = protocol; sk_protocol 752 net/ipv6/af_inet6.c fl6.flowi6_proto = sk->sk_protocol; sk_protocol 46 net/ipv6/datagram.c fl6->flowi6_proto = sk->sk_protocol; sk_protocol 88 net/ipv6/inet6_connection_sock.c fl6->flowi6_proto = sk->sk_protocol; sk_protocol 557 net/ipv6/ip6_flowlabel.c if (sk->sk_protocol != IPPROTO_TCP) sk_protocol 613 net/ipv6/ip6_flowlabel.c if (sk->sk_protocol != IPPROTO_TCP) sk_protocol 1374 net/ipv6/ip6_output.c (sk->sk_protocol == IPPROTO_UDP || sk_protocol 1375 net/ipv6/ip6_output.c sk->sk_protocol == IPPROTO_RAW)) { sk_protocol 1396 net/ipv6/ip6_output.c if (transhdrlen && sk->sk_protocol == IPPROTO_UDP && sk_protocol 179 net/ipv6/ipv6_sockglue.c if (sk->sk_protocol == IPPROTO_UDP || sk_protocol 180 net/ipv6/ipv6_sockglue.c sk->sk_protocol == IPPROTO_UDPLITE) { sk_protocol 186 net/ipv6/ipv6_sockglue.c } else if (sk->sk_protocol == IPPROTO_TCP) { sk_protocol 216 net/ipv6/ipv6_sockglue.c if (sk->sk_protocol == IPPROTO_TCP) { sk_protocol 230 net/ipv6/ipv6_sockglue.c if (sk->sk_protocol == IPPROTO_UDPLITE) sk_protocol 1042 net/ipv6/ipv6_sockglue.c if (sk->sk_protocol != IPPROTO_UDP && sk_protocol 1043 net/ipv6/ipv6_sockglue.c sk->sk_protocol != IPPROTO_UDPLITE && sk_protocol 1044 net/ipv6/ipv6_sockglue.c sk->sk_protocol != IPPROTO_TCP) sk_protocol 1397 net/ipv6/udp.c fl6.flowi6_proto = sk->sk_protocol; sk_protocol 35 net/ipv6/xfrm6_output.c proto = sk->sk_protocol; sk_protocol 603 net/iucv/af_iucv.c sk->sk_protocol = proto; sk_protocol 1395 net/kcm/kcmsock.c csk->sk_protocol != IPPROTO_TCP) { sk_protocol 1466 net/l2tp/l2tp_core.c if ((encap == L2TP_ENCAPTYPE_UDP && sk->sk_protocol != IPPROTO_UDP) || sk_protocol 1467 net/l2tp/l2tp_core.c (encap == L2TP_ENCAPTYPE_IP && sk->sk_protocol != IPPROTO_L2TP)) sk_protocol 489 net/l2tp/l2tp_ip.c sk->sk_protocol, RT_CONN_FLAGS(sk), sk_protocol 610 net/l2tp/l2tp_ip6.c fl6.flowi6_proto = sk->sk_protocol; sk_protocol 520 net/l2tp/l2tp_ppp.c sk->sk_protocol = PX_PROTO_OL2TP; sk_protocol 253 net/netfilter/nf_conntrack_proto.c tuple.dst.protonum = sk->sk_protocol; sk_protocol 321 net/netfilter/nf_conntrack_proto.c tuple.dst.protonum = sk->sk_protocol; sk_protocol 257 net/netlink/af_netlink.c switch (sk->sk_protocol) { sk_protocol 290 net/netlink/af_netlink.c nskb->protocol = htons((u16) sk->sk_protocol); sk_protocol 536 net/netlink/af_netlink.c struct netlink_table *tbl = &nl_table[sk->sk_protocol]; sk_protocol 559 net/netlink/af_netlink.c struct netlink_table *table = &nl_table[sk->sk_protocol]; sk_protocol 597 net/netlink/af_netlink.c table = &nl_table[sk->sk_protocol]; sk_protocol 609 net/netlink/af_netlink.c if (sk->sk_protocol == NETLINK_GENERIC) sk_protocol 648 net/netlink/af_netlink.c sk->sk_protocol = protocol; sk_protocol 759 net/netlink/af_netlink.c if (sk->sk_protocol == NETLINK_GENERIC && sk_protocol 771 net/netlink/af_netlink.c .protocol = sk->sk_protocol, sk_protocol 782 net/netlink/af_netlink.c BUG_ON(nl_table[sk->sk_protocol].registered == 0); sk_protocol 783 net/netlink/af_netlink.c if (--nl_table[sk->sk_protocol].registered == 0) { sk_protocol 786 net/netlink/af_netlink.c old = nl_deref_protected(nl_table[sk->sk_protocol].listeners); sk_protocol 787 net/netlink/af_netlink.c RCU_INIT_POINTER(nl_table[sk->sk_protocol].listeners, NULL); sk_protocol 789 net/netlink/af_netlink.c nl_table[sk->sk_protocol].module = NULL; sk_protocol 790 net/netlink/af_netlink.c nl_table[sk->sk_protocol].bind = NULL; sk_protocol 791 net/netlink/af_netlink.c nl_table[sk->sk_protocol].unbind = NULL; sk_protocol 792 net/netlink/af_netlink.c nl_table[sk->sk_protocol].flags = 0; sk_protocol 793 net/netlink/af_netlink.c nl_table[sk->sk_protocol].registered = 0; sk_protocol 809 net/netlink/af_netlink.c struct netlink_table *table = &nl_table[sk->sk_protocol]; sk_protocol 911 net/netlink/af_netlink.c return (nl_table[sock->sk->sk_protocol].flags & flag) || sk_protocol 923 net/netlink/af_netlink.c sk_add_bind_node(sk, &nl_table[sk->sk_protocol].mc_list); sk_protocol 936 net/netlink/af_netlink.c groups = nl_table[sk->sk_protocol].groups; sk_protocol 937 net/netlink/af_netlink.c if (!nl_table[sk->sk_protocol].registered) { sk_protocol 1138 net/netlink/af_netlink.c sock = netlink_lookup(sock_net(ssk), ssk->sk_protocol, portid); sk_protocol 1356 net/netlink/af_netlink.c listeners = rcu_dereference(nl_table[sk->sk_protocol].listeners); sk_protocol 1358 net/netlink/af_netlink.c if (listeners && group - 1 < nl_table[sk->sk_protocol].groups) sk_protocol 1510 net/netlink/af_netlink.c sk_for_each_bound(sk, &nl_table[ssk->sk_protocol].mc_list) sk_protocol 1597 net/netlink/af_netlink.c sk_for_each_bound(sk, &nl_table[ssk->sk_protocol].mc_list) sk_protocol 2113 net/netlink/af_netlink.c struct netlink_table *tbl = &nl_table[sk->sk_protocol]; sk_protocol 2159 net/netlink/af_netlink.c struct netlink_table *tbl = &nl_table[ksk->sk_protocol]; sk_protocol 2310 net/netlink/af_netlink.c sk = netlink_lookup(sock_net(ssk), ssk->sk_protocol, NETLINK_CB(skb).portid); sk_protocol 2630 net/netlink/af_netlink.c s->sk_protocol, sk_protocol 60 net/netlink/diag.c rep->ndiag_protocol = sk->sk_protocol; sk_protocol 420 net/netrom/af_netrom.c sk->sk_protocol = protocol; sk_protocol 464 net/netrom/af_netrom.c sk->sk_protocol = osk->sk_protocol; sk_protocol 963 net/nfc/llcp_sock.c sk->sk_protocol = NFC_SOCKPROTO_LLCP; sk_protocol 345 net/nfc/rawsock.c sk->sk_protocol = nfc_proto->id; sk_protocol 97 net/phonet/af_phonet.c sk->sk_protocol = protocol; sk_protocol 848 net/phonet/pep.c newsk->sk_protocol = sk->sk_protocol; sk_protocol 598 net/phonet/socket.c sk->sk_protocol, pn->sobject, pn->dobject, sk_protocol 675 net/rds/af_rds.c sk->sk_protocol = protocol; sk_protocol 144 net/rds/tcp_listen.c sock->sk->sk_type, sock->sk->sk_protocol, sk_protocol 515 net/rose/af_rose.c sk->sk_protocol = protocol; sk_protocol 555 net/rose/af_rose.c sk->sk_protocol = osk->sk_protocol; sk_protocol 372 net/sched/em_meta.c dst->value = sk->sk_protocol; sk_protocol 9305 net/sctp/socket.c newsk->sk_protocol = IPPROTO_SCTP; sk_protocol 229 net/smc/af_smc.c sk->sk_protocol = protocol; sk_protocol 887 net/smc/af_smc.c new_sk = smc_sock_alloc(sock_net(lsk), NULL, lsk->sk_protocol); sk_protocol 50 net/smc/smc_diag.c if (sk->sk_protocol == SMCPROTO_SMC) { sk_protocol 54 net/smc/smc_diag.c } else if (sk->sk_protocol == SMCPROTO_SMC6) { sk_protocol 3613 net/socket.c err = sock_create_lite(sk->sk_family, sk->sk_type, sk->sk_protocol, sk_protocol 288 net/sunrpc/svcsock.c const char *proto_name = sk->sk_protocol == IPPROTO_UDP ? sk_protocol 1282 net/sunrpc/svcsock.c inet->sk_protocol, sk_protocol 1362 net/sunrpc/svcsock.c if (so->sk->sk_protocol != IPPROTO_TCP && sk_protocol 1363 net/sunrpc/svcsock.c so->sk->sk_protocol != IPPROTO_UDP) sk_protocol 560 net/x25/af_x25.c sk->sk_protocol = protocol; sk_protocol 606 net/x25/af_x25.c sk->sk_protocol = osk->sk_protocol; sk_protocol 69 security/apparmor/include/net.h (SK)->sk_protocol) sk_protocol 4640 security/selinux/hooks.c err = sel_netport_sid(sk->sk_protocol, sk_protocol 4763 security/selinux/hooks.c err = sel_netport_sid(sk->sk_protocol, snum, &sid); sk_protocol 5555 security/selinux/hooks.c sk->sk_protocol, nlh->nlmsg_type, sk_protocol 710 security/tomoyo/network.c return tomoyo_check_inet_address(addr, addr_len, sock->sk->sk_protocol, sk_protocol 745 security/tomoyo/network.c return tomoyo_check_inet_address(addr, addr_len, sock->sk->sk_protocol, sk_protocol 776 security/tomoyo/network.c sock->sk->sk_protocol, &address);