Home
last modified time | relevance | path

Searched refs:pr_protocol (Results 1 – 25 of 35) sorted by relevance

12

/freebsd/sys/netgraph/bluetooth/socket/
H A Dng_btsocket.c72 .pr_protocol = BLUETOOTH_PROTO_HCI,
91 .pr_protocol = BLUETOOTH_PROTO_L2CAP,
109 .pr_protocol = BLUETOOTH_PROTO_L2CAP,
130 .pr_protocol = BLUETOOTH_PROTO_RFCOMM,
151 .pr_protocol = BLUETOOTH_PROTO_SCO,
/freebsd/sys/kern/
H A Duipc_domain.c285 (pr->pr_protocol == 0 || proto == 0 || in pffindproto()
286 pr->pr_protocol == proto)) in pffindproto()
302 MPASS(npr && npr->pr_type > 0 && npr->pr_protocol > 0); in protosw_register()
322 (dp->dom_protosw[i]->pr_protocol == in protosw_register()
323 npr->pr_protocol)) { in protosw_register()
H A Dkern_sendfile.c629 if ((*so)->so_proto->pr_protocol == IPPROTO_SCTP) in sendfile_getsock()
937 if ((mb_use_ext_pgs && pr->pr_protocol == IPPROTO_TCP) in vn_sendfile()
1153 if (so->so_proto->pr_protocol == IPPROTO_TCP) { in vn_sendfile()
H A Duipc_debug.c291 db_printf("pr_protocol: %d\n", pr->pr_protocol); in db_print_protosw()
H A Dsys_socket.c405 kif->kf_un.kf_sock.kf_sock_protocol0 = so->so_proto->pr_protocol; in soo_fill_kinfo()
H A Duipc_socket.c1144 head->so_proto->pr_protocol);
1709 if (so->so_proto->pr_protocol != IPPROTO_TCP ||
1710 so2->so_proto->pr_protocol != IPPROTO_TCP)
4185 optval = so->so_proto->pr_protocol;
5099 xso->xso_protocol = so->so_proto->pr_protocol;
/freebsd/sys/netinet/
H A Dsctp_syscalls.c162 if (head->so_proto->pr_protocol != IPPROTO_SCTP) { in sys_sctp_peeloff()
272 if (so->so_proto->pr_protocol != IPPROTO_SCTP) { in sys_sctp_generic_sendmsg()
379 if (so->so_proto->pr_protocol != IPPROTO_SCTP) { in sys_sctp_generic_sendmsg_iov()
477 if (so->so_proto->pr_protocol != IPPROTO_SCTP) { in sys_sctp_generic_recvmsg()
H A Dudp_usrreq.c913 isudplite = (so->so_proto->pr_protocol == IPPROTO_UDPLITE) ? 1 : 0; in udp_ctloutput()
917 if (sopt->sopt_level != so->so_proto->pr_protocol) { in udp_ctloutput()
1291 pr = inp->inp_socket->so_proto->pr_protocol; in udp_send()
1547 pcbinfo = udp_get_inpcbinfo(so->so_proto->pr_protocol); in udp_attach()
1773 .pr_protocol = IPPROTO_UDP,
1778 .pr_protocol = IPPROTO_UDPLITE,
H A Dtcp_usrreq.c1348 .pr_protocol = IPPROTO_TCP,
1377 .pr_protocol = IPPROTO_TCP,
/freebsd/sys/netinet6/
H A Dudp6_usrreq.c749 nxt = (inp->inp_socket->so_proto->pr_protocol == IPPROTO_UDP) ? in udp6_send()
941 pr = inp->inp_socket->so_proto->pr_protocol; in udp6_send()
1013 pcbinfo = udp_get_inpcbinfo(so->so_proto->pr_protocol); in udp6_attach()
1273 .pr_protocol = IPPROTO_UDP,
1278 .pr_protocol = IPPROTO_UDPLITE,
H A Dsend.c322 .pr_protocol = IPPROTO_SEND,
H A Dsctp6_usrreq.c1093 .pr_protocol = IPPROTO_SCTP, \
H A Dip6_output.c1502 uproto = (int)so->so_proto->pr_protocol; in ip6_ctloutput()
2345 td->td_ucred : NULL, so->so_proto->pr_protocol)) != 0) { in ip6_pcbopts()
H A Din6_pcb.c519 inp->inp_socket->so_proto->pr_protocol, &hash_type); in in6_pcbconnect()
/freebsd/sys/sys/
H A Dprotosw.h108 short pr_protocol; /* protocol number */ member
/freebsd/usr.bin/netstat/
H A Dmain.c80 int pr_protocol; member
726 (*pr)(off, name, af, tp->pr_protocol); in printproto()
H A Dinet.c165 xso->xso_protocol = proto.pr_protocol; in sotoxsocket()
/freebsd/sys/netipsec/
H A Dkeysock.c338 .pr_protocol = PF_KEY_V2,
/freebsd/sys/dev/mlx5/mlx5_accel/
H A Dmlx5_ipsec.c591 pr_protocol != IPPROTO_UDP) { in mlx5e_xfrm_validate_policy()
594 inp->inp_socket->so_proto->pr_protocol); in mlx5e_xfrm_validate_policy()
/freebsd/sys/netgraph/
H A Dng_socket.c1139 .pr_protocol = NG_CONTROL,
1151 .pr_protocol = NG_DATA,
/freebsd/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_main.c1905 .pr_protocol = IPPROTO_IP,
1909 .pr_protocol = IPPROTO_TCP,
/freebsd/sys/dev/cxgbe/cxgbei/
H A Dicl_cxgbei.c1046 so->so_proto->pr_protocol != IPPROTO_TCP) { in icl_cxgbei_conn_handoff()
1720 so->so_proto->pr_protocol != IPPROTO_TCP) { in cxgbei_limits_fd()
/freebsd/sys/security/audit/
H A Daudit_arg.c702 so->so_proto->pr_protocol; in audit_arg_file()
/freebsd/sys/rpc/
H A Dsvc_vc.c279 if (so->so_proto->pr_protocol == IPPROTO_TCP) { in svc_vc_create_conn()
H A Dclnt_vc.c205 if (so->so_proto->pr_protocol == IPPROTO_TCP) { in clnt_vc_create()

12