/linux-6.1.9/drivers/isdn/mISDN/ |
D | socket.c | 117 sk->sk_protocol); in mISDN_sock_recvmsg() 133 if ((sk->sk_protocol == ISDN_P_LAPD_TE) || in mISDN_sock_recvmsg() 134 (sk->sk_protocol == ISDN_P_LAPD_NT)) { in mISDN_sock_recvmsg() 176 sk->sk_protocol); in mISDN_sock_sendmsg() 209 if ((sk->sk_protocol == ISDN_P_LAPD_TE) || in mISDN_sock_sendmsg() 210 (sk->sk_protocol == ISDN_P_LAPD_NT)) in mISDN_sock_sendmsg() 244 switch (sk->sk_protocol) { in data_sock_release() 296 if ((sk->sk_protocol & ~ISDN_P_B_MASK) == ISDN_P_B_START) { in data_sock_ioctl_bound() 314 if (sk->sk_protocol != ISDN_P_LAPD_NT) { in data_sock_ioctl_bound() 327 if (sk->sk_protocol != ISDN_P_LAPD_NT in data_sock_ioctl_bound() [all …]
|
/linux-6.1.9/net/netlink/ |
D | af_netlink.c | 270 switch (sk->sk_protocol) { in netlink_filter_tap() 303 nskb->protocol = htons((u16) sk->sk_protocol); in __netlink_deliver_tap_skb() 551 struct netlink_table *tbl = &nl_table[sk->sk_protocol]; in netlink_update_listeners() 574 struct netlink_table *table = &nl_table[sk->sk_protocol]; in netlink_insert() 617 table = &nl_table[sk->sk_protocol]; in netlink_remove() 629 if (sk->sk_protocol == NETLINK_GENERIC) in netlink_remove() 668 sk->sk_protocol = protocol; in __netlink_create() 777 if (sk->sk_protocol == NETLINK_GENERIC && in netlink_release() 789 .protocol = sk->sk_protocol, in netlink_release() 800 BUG_ON(nl_table[sk->sk_protocol].registered == 0); in netlink_release() [all …]
|
D | diag.c | 60 rep->ndiag_protocol = sk->sk_protocol; in sk_diag_fill()
|
/linux-6.1.9/include/linux/ |
D | sock_diag.h | 56 switch (sk->sk_protocol) { in sock_diag_destroy_group() 68 switch (sk->sk_protocol) { in sock_diag_destroy_group()
|
D | udp.h | 156 #define IS_UDPLITE(__sk) (__sk->sk_protocol == IPPROTO_UDPLITE)
|
/linux-6.1.9/drivers/net/ppp/ |
D | pppox.c | 92 rc = pppox_protos[sk->sk_protocol]->ioctl ? in pppox_ioctl() 93 pppox_protos[sk->sk_protocol]->ioctl(sock, cmd, arg) : -ENOTTY; in pppox_ioctl()
|
/linux-6.1.9/net/ipv4/ |
D | datagram.c | 50 sk->sk_protocol, inet->inet_sport, in __ip4_datagram_connect() 121 inet->inet_sport, sk->sk_protocol, in ip4_datagram_release_cb()
|
D | inet_connection_sock.c | 669 if (sk->sk_protocol == IPPROTO_TCP && in inet_csk_accept() 775 sk->sk_protocol, inet_sk_flowi_flags(sk), in inet_csk_route_req() 813 sk->sk_protocol, inet_sk_flowi_flags(sk), in inet_csk_route_child_sock() 899 if (sk->sk_protocol == IPPROTO_TCP && tcp_rsk(nreq)->tfo_listener) in inet_reqsk_clone() 1262 if (sk->sk_protocol == IPPROTO_TCP && tcp_rsk(req)->tfo_listener) { in inet_child_forget() 1450 inet->inet_sport, sk->sk_protocol, in inet_csk_rebuild_route()
|
D | ip_output.c | 164 iph->protocol = sk->sk_protocol; in ip_build_and_send_pkt() 174 if (sk->sk_protocol == IPPROTO_TCP) in ip_build_and_send_pkt() 492 sk->sk_protocol, in __ip_queue_xmit() 515 iph->protocol = sk->sk_protocol; in __ip_queue_xmit() 1554 iph->protocol = sk->sk_protocol; in __ip_make_skb() 1728 sk->sk_protocol = ip_hdr(skb)->protocol; in ip_send_unicast_reply()
|
/linux-6.1.9/net/mptcp/ |
D | bpf.c | 17 if (sk && sk_fullsock(sk) && sk->sk_protocol == IPPROTO_TCP && sk_is_mptcp(sk)) in bpf_mptcp_sock_from_subflow()
|
/linux-6.1.9/net/ipv6/ |
D | ipv6_sockglue.c | 437 if (sk->sk_protocol == IPPROTO_UDP || in do_ipv6_setsockopt() 438 sk->sk_protocol == IPPROTO_UDPLITE) { in do_ipv6_setsockopt() 444 } else if (sk->sk_protocol == IPPROTO_TCP) { in do_ipv6_setsockopt() 474 if (sk->sk_protocol == IPPROTO_TCP) { in do_ipv6_setsockopt() 490 if (sk->sk_protocol == IPPROTO_UDPLITE) in do_ipv6_setsockopt() 1152 if (sk->sk_protocol != IPPROTO_UDP && in do_ipv6_getsockopt() 1153 sk->sk_protocol != IPPROTO_UDPLITE && in do_ipv6_getsockopt() 1154 sk->sk_protocol != IPPROTO_TCP) in do_ipv6_getsockopt()
|
D | inet6_connection_sock.c | 88 fl6->flowi6_proto = sk->sk_protocol; in inet6_csk_route_socket()
|
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | bpf_iter_netlink.c | 33 BPF_SEQ_PRINTF(seq, "%pK %-3d ", s, s->sk_protocol); in dump_netlink()
|
/linux-6.1.9/kernel/bpf/ |
D | reuseport_array.c | 203 if (nsk->sk_protocol != IPPROTO_UDP && nsk->sk_protocol != IPPROTO_TCP) in reuseport_array_update_check()
|
/linux-6.1.9/include/trace/events/ |
D | sock.h | 170 __entry->protocol = sk->sk_protocol; 231 __entry->protocol = sk->sk_protocol;
|
/linux-6.1.9/security/apparmor/include/ |
D | net.h | 69 (SK)->sk_protocol)
|
/linux-6.1.9/net/smc/ |
D | smc_diag.c | 46 if (sk->sk_protocol == SMCPROTO_SMC) { in smc_diag_msg_common_fill() 50 } else if (sk->sk_protocol == SMCPROTO_SMC6) { in smc_diag_msg_common_fill()
|
/linux-6.1.9/drivers/infiniband/hw/usnic/ |
D | usnic_transport.c | 189 *proto = sock->sk->sk_protocol; in usnic_transport_sock_get_addr()
|
/linux-6.1.9/security/tomoyo/ |
D | network.c | 710 return tomoyo_check_inet_address(addr, addr_len, sock->sk->sk_protocol, in tomoyo_socket_connect_permission() 745 return tomoyo_check_inet_address(addr, addr_len, sock->sk->sk_protocol, in tomoyo_socket_bind_permission() 776 sock->sk->sk_protocol, &address); in tomoyo_socket_sendmsg_permission()
|
/linux-6.1.9/net/bluetooth/cmtp/ |
D | sock.c | 222 sk->sk_protocol = protocol; in cmtp_sock_create()
|
/linux-6.1.9/net/bluetooth/bnep/ |
D | sock.c | 220 sk->sk_protocol = protocol; in bnep_sock_create()
|
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls_main.c | 90 if (sk->sk_protocol != IPPROTO_TCP) in chtls_start_listen() 114 if (sk->sk_protocol != IPPROTO_TCP) in chtls_stop_listen()
|
/linux-6.1.9/net/netfilter/ |
D | nf_conntrack_proto.c | 266 tuple.dst.protonum = sk->sk_protocol; in getorigdst() 334 tuple.dst.protonum = sk->sk_protocol; in ipv6_getorigdst()
|
/linux-6.1.9/net/caif/ |
D | caif_socket.c | 556 if (len > cf_sk->maxframe && cf_sk->sk.sk_protocol != CAIFPROTO_RFM) in caif_seqpkt_sendmsg() 694 if (cf_sk->sk.sk_protocol != CAIFPROTO_UTIL) in setsockopt() 1062 sk->sk_protocol = (unsigned char) protocol; in caif_create()
|
/linux-6.1.9/net/sunrpc/ |
D | svcsock.c | 187 const char *proto_name = sk->sk_protocol == IPPROTO_UDP ? in svc_one_sock_name() 1308 inet->sk_protocol, in svc_setup_socket() 1383 if (so->sk->sk_protocol != IPPROTO_TCP && in svc_addsock() 1384 so->sk->sk_protocol != IPPROTO_UDP) in svc_addsock()
|