sk_type 809 drivers/net/gtp.c sk->sk_type != SOCK_DGRAM || sk_type 553 drivers/net/ppp/pppoe.c sk->sk_type = SOCK_STREAM; sk_type 551 drivers/net/ppp/pptp.c sk->sk_type = SOCK_STREAM; sk_type 1424 drivers/vhost/net.c if (sock->sk->sk_type != SOCK_RAW) { sk_type 1825 fs/ocfs2/cluster/tcp.c ret = sock_create_lite(sock->sk->sk_family, sock->sk->sk_type, sk_type 41 include/linux/sock_diag.h if (sk->sk_type == SOCK_RAW) sk_type 53 include/linux/sock_diag.h if (sk->sk_type == SOCK_RAW) sk_type 461 include/net/sock.h sk_type : 16; sk_type 222 kernel/bpf/reuseport_array.c if (nsk->sk_type != SOCK_STREAM && nsk->sk_type != SOCK_DGRAM) sk_type 179 net/appletalk/atalk_proc.c s->sk_type, ntohs(at->src_net), at->src_node, at->src_port, sk_type 1749 net/appletalk/ddp.c if (sk->sk_type != SOCK_RAW) { sk_type 162 net/ax25/af_ax25.c s->sk->sk_type == type && s->sk->sk_state == TCP_LISTEN) { sk_type 189 net/ax25/af_ax25.c s->sk->sk_type == type) { sk_type 212 net/ax25/af_ax25.c if (s->sk && s->sk->sk_type != SOCK_SEQPACKET) sk_type 247 net/ax25/af_ax25.c s->sk->sk_type == SOCK_RAW && sk_type 648 net/ax25/af_ax25.c if (sk->sk_type == SOCK_SEQPACKET && sk_type 784 net/ax25/af_ax25.c if (sk->sk_type == SOCK_SEQPACKET && sk->sk_state != TCP_LISTEN) { sk_type 902 net/ax25/af_ax25.c switch (osk->sk_type) { sk_type 915 net/ax25/af_ax25.c sk->sk_type = osk->sk_type; sk_type 971 net/ax25/af_ax25.c if (sk->sk_type == SOCK_SEQPACKET) { sk_type 1173 net/ax25/af_ax25.c if (sk->sk_state == TCP_ESTABLISHED && sk->sk_type == SOCK_SEQPACKET) { sk_type 1240 net/ax25/af_ax25.c if (sk->sk_type == SOCK_SEQPACKET && sk_type 1253 net/ax25/af_ax25.c if (sk->sk_type != SOCK_SEQPACKET) { sk_type 1346 net/ax25/af_ax25.c if (sk->sk_type != SOCK_SEQPACKET) { sk_type 1527 net/ax25/af_ax25.c if (sk->sk_type == SOCK_SEQPACKET && sk_type 1574 net/ax25/af_ax25.c if (sk->sk_type == SOCK_SEQPACKET) { sk_type 1625 net/ax25/af_ax25.c if (sk->sk_type == SOCK_SEQPACKET && sk->sk_state != TCP_ESTABLISHED) { sk_type 268 net/bluetooth/l2cap_sock.c if (sk->sk_type != SOCK_SEQPACKET && sk->sk_type != SOCK_STREAM) { sk_type 562 net/bluetooth/l2cap_sock.c if (sk->sk_type != SOCK_SEQPACKET && sk->sk_type != SOCK_STREAM sk_type 563 net/bluetooth/l2cap_sock.c && sk->sk_type != SOCK_RAW) { sk_type 1524 net/bluetooth/l2cap_sock.c sk->sk_type = parent->sk_type; sk_type 1548 net/bluetooth/l2cap_sock.c switch (sk->sk_type) { sk_type 1564 net/bluetooth/l2cap_sock.c if (!disable_ertm && sk->sk_type == SOCK_STREAM) { sk_type 249 net/bluetooth/rfcomm/sock.c sk->sk_type = parent->sk_type; sk_type 360 net/bluetooth/rfcomm/sock.c if (sk->sk_type != SOCK_STREAM) { sk_type 404 net/bluetooth/rfcomm/sock.c if (sk->sk_type != SOCK_STREAM) { sk_type 441 net/bluetooth/rfcomm/sock.c if (sk->sk_type != SOCK_STREAM) { sk_type 486 net/bluetooth/rfcomm/sock.c if (sk->sk_type != SOCK_STREAM) { sk_type 711 net/bluetooth/rfcomm/sock.c if (sk->sk_type != SOCK_STREAM) { sk_type 855 net/bluetooth/rfcomm/sock.c if (sk->sk_type != SOCK_STREAM) { sk_type 457 net/bluetooth/sco.c sk->sk_type = parent->sk_type; sk_type 539 net/bluetooth/sco.c if (sk->sk_type != SOCK_SEQPACKET) { sk_type 568 net/bluetooth/sco.c if (sk->sk_type != SOCK_SEQPACKET) sk_type 603 net/bluetooth/sco.c if (sk->sk_type != SOCK_SEQPACKET) { sk_type 72 net/core/datagram.c return sk->sk_type == SOCK_SEQPACKET || sk->sk_type == SOCK_STREAM; sk_type 650 net/core/datagram.c if (sk && sk->sk_type == SOCK_STREAM) { sk_type 1587 net/core/filter.c if ((sk->sk_type != SOCK_STREAM && sk_type 1588 net/core/filter.c sk->sk_type != SOCK_DGRAM) || sk_type 766 net/core/skbuff.c level, sk->sk_family, sk->sk_type, sk->sk_protocol); sk_type 1150 net/core/skbuff.c if (sk->sk_type == SOCK_STREAM) sk_type 1164 net/core/skbuff.c if (sk->sk_type == SOCK_STREAM) sk_type 4523 net/core/skbuff.c sk->sk_type == SOCK_STREAM) sk_type 4592 net/core/skbuff.c sk->sk_type == SOCK_STREAM) { sk_type 942 net/core/sock.c sk->sk_type == SOCK_STREAM) { sk_type 1140 net/core/sock.c if (!((sk->sk_type == SOCK_STREAM && sk_type 1142 net/core/sock.c (sk->sk_type == SOCK_DGRAM && sk_type 1275 net/core/sock.c v.val = sk->sk_type; sk_type 2532 net/core/sock.c if (sk->sk_type == SOCK_STREAM) { sk_type 2555 net/core/sock.c if (kind == SK_MEM_SEND && sk->sk_type == SOCK_STREAM) { sk_type 2873 net/core/sock.c sk->sk_type = sock->type; sk_type 401 net/core/sock_map.c return sk->sk_type == SOCK_STREAM && sk_type 1654 net/decnet/af_decnet.c if (sk->sk_type == SOCK_SEQPACKET) sk_type 1786 net/decnet/af_decnet.c if (sk->sk_type == SOCK_SEQPACKET) sk_type 1802 net/decnet/af_decnet.c if (eor && (sk->sk_type == SOCK_SEQPACKET)) sk_type 143 net/ipv4/af_inet.c if (sk->sk_type == SOCK_STREAM && sk->sk_state != TCP_CLOSE) { sk_type 227 net/ipv4/inet_diag.c if (sk->sk_type == SOCK_RAW) { sk_type 1197 net/ipv4/inet_diag.c if (sk->sk_type == SOCK_DGRAM || sk->sk_type == SOCK_STREAM) sk_type 342 net/ipv4/ip_sockglue.c if (sk->sk_type != SOCK_RAW || inet_sk(sk)->inet_num == IPPROTO_RAW) sk_type 738 net/ipv4/ip_sockglue.c if (sk->sk_type != SOCK_RAW && sk->sk_type != SOCK_DGRAM) sk_type 746 net/ipv4/ip_sockglue.c if (sk->sk_type == SOCK_STREAM) { sk_type 764 net/ipv4/ip_sockglue.c if (sk->sk_type != SOCK_RAW) { sk_type 771 net/ipv4/ip_sockglue.c if (sk->sk_type != SOCK_RAW) { sk_type 791 net/ipv4/ip_sockglue.c if (sk->sk_type == SOCK_STREAM) sk_type 845 net/ipv4/ip_sockglue.c if (sk->sk_type == SOCK_STREAM) sk_type 1492 net/ipv4/ip_sockglue.c if (sk->sk_type != SOCK_STREAM) sk_type 1386 net/ipv4/ipmr.c if (sk->sk_type != SOCK_RAW || sk_type 1573 net/ipv4/ipmr.c if (sk->sk_type != SOCK_RAW || sk_type 3221 net/ipv4/tcp.c if (sk->sk_type != SOCK_STREAM) sk_type 26 net/ipv4/tcp_diag.c } else if (sk->sk_type == SOCK_STREAM) { sk_type 291 net/ipv6/af_inet6.c if ((addr_type & IPV6_ADDR_MULTICAST) && sk->sk_type == SOCK_STREAM) sk_type 1574 net/ipv6/ip6mr.c if (sk->sk_type != SOCK_RAW || sk_type 1636 net/ipv6/ip6mr.c if (sk->sk_type != SOCK_RAW || sk_type 1807 net/ipv6/ip6mr.c if (sk->sk_type != SOCK_RAW || sk_type 63 net/ipv6/ipv6_sockglue.c if (sk->sk_type != SOCK_RAW || inet_sk(sk)->inet_num != IPPROTO_RAW) sk_type 176 net/ipv6/ipv6_sockglue.c if (sk->sk_type == SOCK_RAW) sk_type 562 net/ipv6/ipv6_sockglue.c if (sk->sk_type == SOCK_STREAM) sk_type 612 net/ipv6/ipv6_sockglue.c if (sk->sk_type == SOCK_STREAM) sk_type 944 net/ipv6/ipv6_sockglue.c if (level == SOL_IP && sk->sk_type != SOCK_RAW) sk_type 967 net/ipv6/ipv6_sockglue.c if (level == SOL_IP && sk->sk_type != SOCK_RAW) { sk_type 1073 net/ipv6/ipv6_sockglue.c if (sk->sk_type != SOCK_STREAM) sk_type 1391 net/ipv6/ipv6_sockglue.c if (level == SOL_IP && sk->sk_type != SOCK_RAW) sk_type 1421 net/ipv6/ipv6_sockglue.c if (level == SOL_IP && sk->sk_type != SOCK_RAW) { sk_type 1028 net/ipv6/raw.c if (sk->sk_type != SOCK_RAW) sk_type 364 net/iucv/af_iucv.c if (sock->sk_type == SOCK_SEQPACKET) { sk_type 562 net/iucv/af_iucv.c sk->sk_type = parent->sk_type; sk_type 895 net/iucv/af_iucv.c if (sk->sk_type != SOCK_STREAM && sk->sk_type != SOCK_SEQPACKET) sk_type 1085 net/iucv/af_iucv.c if (sk->sk_type == SOCK_SEQPACKET && !(msg->msg_flags & MSG_EOR)) sk_type 1422 net/iucv/af_iucv.c if (sk->sk_type == SOCK_SEQPACKET) { sk_type 1445 net/iucv/af_iucv.c if (sk->sk_type == SOCK_STREAM) { sk_type 1493 net/iucv/af_iucv.c if (sk->sk_type == SOCK_SEQPACKET && (flags & MSG_TRUNC)) sk_type 1787 net/iucv/af_iucv.c nsk = iucv_sock_alloc(NULL, sk->sk_type, GFP_ATOMIC, 0); sk_type 1993 net/iucv/af_iucv.c nsk = iucv_sock_alloc(NULL, sk->sk_type, GFP_ATOMIC, 0); sk_type 1460 net/l2tp/l2tp_core.c if (sk->sk_type != SOCK_DGRAM) sk_type 523 net/l2tp/l2tp_ppp.c sk->sk_type = SOCK_STREAM; sk_type 103 net/llc/af_llc.c else if (sk->sk_type == SOCK_STREAM) sk_type 141 net/llc/af_llc.c sk->sk_type = sock->type; sk_type 464 net/llc/af_llc.c if (unlikely(sk->sk_type != SOCK_STREAM)) sk_type 532 net/llc/af_llc.c if (unlikely(sk->sk_type != SOCK_STREAM)) sk_type 676 net/llc/af_llc.c if (unlikely(sk->sk_type != SOCK_STREAM)) sk_type 745 net/llc/af_llc.c if (unlikely(sk->sk_type == SOCK_STREAM && sk->sk_state == TCP_LISTEN)) sk_type 804 net/llc/af_llc.c if (sk->sk_type == SOCK_STREAM && sk->sk_state == TCP_CLOSE) { sk_type 856 net/llc/af_llc.c if (sk->sk_type != SOCK_STREAM) sk_type 947 net/llc/af_llc.c if (sk->sk_type == SOCK_DGRAM || addr->sllc_ua) { sk_type 966 net/llc/af_llc.c if (!(sk->sk_type == SOCK_STREAM && !addr->sllc_ua)) sk_type 102 net/llc/llc_conn.c if (sk->sk_type == SOCK_STREAM && sk_type 137 net/llc/llc_conn.c if (sk->sk_type == SOCK_STREAM && sk_type 151 net/llc/llc_conn.c if (sk->sk_type == SOCK_STREAM && sk->sk_state == TCP_CLOSING) { sk_type 532 net/llc/llc_conn.c return sk->sk_type == SOCK_STREAM && sk->sk_state == TCP_LISTEN && sk_type 136 net/llc/llc_if.c if (sk->sk_type != SOCK_STREAM || sk->sk_state != TCP_ESTABLISHED || sk_type 140 net/llc/llc_proc.c seq_printf(seq, "%2X %2X ", sk->sk_type, 0); sk_type 299 net/llc/llc_sap.c return sk->sk_type == SOCK_DGRAM && sk_type 355 net/llc/llc_sap.c return sk->sk_type == SOCK_DGRAM && sk_type 59 net/netlink/diag.c rep->ndiag_type = sk->sk_type; sk_type 451 net/netrom/af_netrom.c if (osk->sk_type != SOCK_SEQPACKET) sk_type 462 net/netrom/af_netrom.c sk->sk_type = osk->sk_type; sk_type 756 net/netrom/af_netrom.c if (sk->sk_type != SOCK_SEQPACKET) { sk_type 347 net/nfc/llcp_core.c if (tmp_sock->sk.sk_type == SOCK_STREAM && sk_type 351 net/nfc/llcp_core.c if (tmp_sock->sk.sk_type == SOCK_DGRAM && sk_type 859 net/nfc/llcp_core.c if (llcp_sock == NULL || llcp_sock->sk.sk_type != SOCK_DGRAM) sk_type 940 net/nfc/llcp_core.c new_sk = nfc_llcp_sock_alloc(NULL, parent->sk_type, GFP_ATOMIC, 0); sk_type 776 net/nfc/llcp_sock.c if (sk->sk_type == SOCK_DGRAM) { sk_type 848 net/nfc/llcp_sock.c if (sk->sk_type == SOCK_DGRAM && msg->msg_name) { sk_type 868 net/nfc/llcp_sock.c if (sk->sk_type == SOCK_STREAM || sk_type 869 net/nfc/llcp_sock.c sk->sk_type == SOCK_DGRAM || sk_type 870 net/nfc/llcp_sock.c sk->sk_type == SOCK_RAW) { sk_type 885 net/nfc/llcp_sock.c if (sk->sk_type == SOCK_SEQPACKET && (flags & MSG_TRUNC)) sk_type 964 net/nfc/llcp_sock.c sk->sk_type = type; sk_type 2074 net/packet/af_packet.c if (sk->sk_type != SOCK_DGRAM) sk_type 2195 net/packet/af_packet.c if (sk->sk_type != SOCK_DGRAM) sk_type 2225 net/packet/af_packet.c if (sk->sk_type == SOCK_DGRAM) { sk_type 2584 net/packet/af_packet.c if (po->sk.sk_type == SOCK_DGRAM) { sk_type 4605 net/packet/af_packet.c s->sk_type, sk_type 145 net/packet/diag.c rp->pdiag_type = sk->sk_type; sk_type 244 net/phonet/pep-gprs.c if (unlikely(sk->sk_type == SOCK_STREAM)) sk_type 144 net/rds/tcp_listen.c sock->sk->sk_type, sock->sk->sk_protocol, sk_type 536 net/rose/af_rose.c if (osk->sk_type != SOCK_SEQPACKET) sk_type 553 net/rose/af_rose.c sk->sk_type = osk->sk_type; sk_type 865 net/rose/af_rose.c if (sk->sk_type != SOCK_SEQPACKET) { sk_type 383 net/sched/em_meta.c dst->value = sk->sk_type; sk_type 4996 net/sctp/socket.c switch (sk->sk_type) { sk_type 9293 net/sctp/socket.c newsk->sk_type = sk->sk_type; sk_type 289 net/smc/af_smc.c nsk->sk_type = osk->sk_type; sk_type 3613 net/socket.c err = sock_create_lite(sk->sk_family, sk->sk_type, sk->sk_protocol, sk_type 283 net/tipc/socket.c return sk->sk_type == SOCK_RDM || sk->sk_type == SOCK_DGRAM; sk_type 3453 net/tipc/socket.c if (nla_put_u32(skb, TIPC_NLA_SOCK_TYPE, (u32)sk->sk_type) || sk_type 3675 net/tipc/socket.c if (_sktype && _sktype != sk->sk_type) sk_type 3768 net/tipc/socket.c i += scnprintf(buf, sz, "sk data: %u", sk->sk_type); sk_type 541 net/unix/af_unix.c if (sk->sk_type == SOCK_STREAM || sk->sk_type == SOCK_SEQPACKET) { sk_type 899 net/unix/af_unix.c addr->hash ^= sk->sk_type; sk_type 936 net/unix/af_unix.c if (u->sk_type == type) sk_type 942 net/unix/af_unix.c if (u->sk_type != type) { sk_type 1049 net/unix/af_unix.c addr->hash = hash ^ sk->sk_type; sk_type 1062 net/unix/af_unix.c sk->sk_type, hash)) { sk_type 1257 net/unix/af_unix.c other = unix_find_other(net, sunaddr, addr_len, sk->sk_type, hash, &err); sk_type 1337 net/unix/af_unix.c newsk->sk_type = sk->sk_type; sk_type 1413 net/unix/af_unix.c if (ska->sk_type != SOCK_DGRAM) { sk_type 1662 net/unix/af_unix.c other = unix_find_other(net, sunaddr, namelen, sk->sk_type, sk_type 1716 net/unix/af_unix.c if (sk->sk_type != SOCK_SEQPACKET) { sk_type 2078 net/unix/af_unix.c if (sk->sk_type == SOCK_SEQPACKET && err == -EAGAIN && sk_type 2480 net/unix/af_unix.c (sk->sk_type == SOCK_STREAM || sk->sk_type == SOCK_SEQPACKET)) { sk_type 2512 net/unix/af_unix.c if (sk->sk_type == SOCK_STREAM || sk_type 2513 net/unix/af_unix.c sk->sk_type == SOCK_SEQPACKET) { sk_type 2625 net/unix/af_unix.c if ((sk->sk_type == SOCK_STREAM || sk->sk_type == SOCK_SEQPACKET) && sk_type 2664 net/unix/af_unix.c if (sk->sk_type == SOCK_SEQPACKET) { sk_type 2791 net/unix/af_unix.c s->sk_type, sk_type 135 net/unix/diag.c rep->udiag_type = sk->sk_type; sk_type 596 net/vmw_vsock/af_vsock.c sk->sk_type = type; sk_type 813 net/vmw_vsock/af_vsock.c if (sk->sk_type == SOCK_STREAM) sk_type 828 net/vmw_vsock/af_vsock.c if (sk->sk_type == SOCK_STREAM) { sk_type 34 net/vmw_vsock/diag.c rep->vdiag_type = sk->sk_type; sk_type 317 net/vmw_vsock/hyperv_transport.c sk->sk_type, 0); sk_type 831 net/vmw_vsock/virtio_transport_common.c if (sk->sk_type == SOCK_STREAM) sk_type 1016 net/vmw_vsock/virtio_transport_common.c sk->sk_type, 0); sk_type 1017 net/vmw_vsock/vmci_transport.c sk->sk_type, 0); sk_type 596 net/x25/af_x25.c if (osk->sk_type != SOCK_SEQPACKET) sk_type 604 net/x25/af_x25.c sk->sk_type = osk->sk_type; sk_type 877 net/x25/af_x25.c if (sk->sk_type != SOCK_SEQPACKET) sk_type 96 net/xdp/xsk_diag.c msg->xdiag_type = sk->sk_type; sk_type 68 security/apparmor/include/net.h DEFINE_AUDIT_NET(NAME, OP, SK, (SK)->sk_family, (SK)->sk_type, \ sk_type 102 security/apparmor/include/net.h sk->sk_type); sk_type 2654 security/smack/smack_lsm.c if (spp->smk_port != port || spp->smk_sock_type != sk->sk_type)