| /freebsd-13.1/sys/netinet/ |
| H A D | in_proto.c | 114 .pr_protocol = IPPROTO_IP, 123 .pr_protocol = IPPROTO_UDP, 134 .pr_protocol = IPPROTO_TCP, 148 .pr_protocol = IPPROTO_SCTP, 160 .pr_protocol = IPPROTO_SCTP, 183 .pr_protocol = IPPROTO_RAW, 193 .pr_protocol = IPPROTO_ICMP, 202 .pr_protocol = IPPROTO_IGMP, 213 .pr_protocol = IPPROTO_RSVP, 249 .pr_protocol = IPPROTO_GRE, [all …]
|
| H A D | sctp_module.c | 61 .pr_protocol = IPPROTO_SCTP, 73 .pr_protocol = IPPROTO_SCTP, 89 .pr_protocol = IPPROTO_SCTP, 102 .pr_protocol = IPPROTO_SCTP,
|
| H A D | ip_input.c | 366 pr->pr_protocol && pr->pr_protocol != IPPROTO_RAW) { in ip_init() 368 if (pr->pr_protocol < IPPROTO_MAX) in ip_init() 369 ip_protox[pr->pr_protocol] = pr - inetsw; in ip_init() 905 pr->pr_protocol && pr->pr_protocol == ipproto) { in ipproto_register() 906 ip_protox[pr->pr_protocol] = pr - inetsw; in ipproto_register() 1370 so->so_proto->pr_protocol != IPPROTO_RSVP) in ip_rsvp_init()
|
| H A D | udp_usrreq.c | 980 isudplite = (so->so_proto->pr_protocol == IPPROTO_UDPLITE) ? 1 : 0; in udp_ctloutput() 984 if (sopt->sopt_level != so->so_proto->pr_protocol) { in udp_ctloutput() 1281 pr = inp->inp_socket->so_proto->pr_protocol; in udp_output() 1540 pcbinfo = udp_get_inpcbinfo(so->so_proto->pr_protocol); in udp_abort() 1562 pcbinfo = udp_get_inpcbinfo(so->so_proto->pr_protocol); in udp_attach() 1628 pcbinfo = udp_get_inpcbinfo(so->so_proto->pr_protocol); in udp_bind() 1660 pcbinfo = udp_get_inpcbinfo(so->so_proto->pr_protocol); in udp_close() 1683 pcbinfo = udp_get_inpcbinfo(so->so_proto->pr_protocol); in udp_connect() 1721 pcbinfo = udp_get_inpcbinfo(so->so_proto->pr_protocol); in udp_detach() 1743 pcbinfo = udp_get_inpcbinfo(so->so_proto->pr_protocol); in udp_disconnect()
|
| H A D | sctp_syscalls.c | 161 if (head->so_proto->pr_protocol != IPPROTO_SCTP) { 267 if (so->so_proto->pr_protocol != IPPROTO_SCTP) { 383 if (so->so_proto->pr_protocol != IPPROTO_SCTP) { 490 if (so->so_proto->pr_protocol != IPPROTO_SCTP) {
|
| H A D | ip_divert.c | 798 .pr_protocol = IPPROTO_DIVERT,
|
| /freebsd-13.1/sys/netinet6/ |
| H A D | in6_proto.c | 139 .pr_protocol = PROTO_SPACER, \ 147 .pr_protocol = IPPROTO_IPV6, 156 .pr_protocol = IPPROTO_UDP, 169 .pr_protocol = IPPROTO_TCP, 185 .pr_protocol = IPPROTO_SCTP, 199 .pr_protocol = IPPROTO_SCTP, 224 .pr_protocol = IPPROTO_RAW, 276 .pr_protocol = IPPROTO_IPV4, 287 .pr_protocol = IPPROTO_IPV6, 297 .pr_protocol = IPPROTO_GRE, [all …]
|
| H A D | udp6_usrreq.c | 768 nxt = (inp->inp_socket->so_proto->pr_protocol == IPPROTO_UDP) ? in udp6_output() 861 pcbinfo = udp_get_inpcbinfo(so->so_proto->pr_protocol); in udp6_output() 954 pr = inp->inp_socket->so_proto->pr_protocol; in udp6_output() 1000 pcbinfo = udp_get_inpcbinfo(so->so_proto->pr_protocol); in udp6_abort() 1010 nxt = (inp->inp_socket->so_proto->pr_protocol == IPPROTO_UDP) ? in udp6_abort() 1036 pcbinfo = udp_get_inpcbinfo(so->so_proto->pr_protocol); in udp6_attach() 1085 pcbinfo = udp_get_inpcbinfo(so->so_proto->pr_protocol); in udp6_bind() 1137 pcbinfo = udp_get_inpcbinfo(so->so_proto->pr_protocol); in udp6_close() 1177 pcbinfo = udp_get_inpcbinfo(so->so_proto->pr_protocol); in udp6_connect() 1273 pcbinfo = udp_get_inpcbinfo(so->so_proto->pr_protocol); in udp6_detach() [all …]
|
| H A D | raw_ip6.c | 425 so->so_proto->pr_protocol); in rip6_output() 454 if (so->so_proto->pr_protocol == IPPROTO_ICMPV6) { in rip6_output() 478 &dstsock->sin6_addr, 0, 0, so->so_proto->pr_protocol, in rip6_output() 515 if (so->so_proto->pr_protocol == IPPROTO_ICMPV6 || in rip6_output() 522 if (so->so_proto->pr_protocol == IPPROTO_ICMPV6) in rip6_output() 549 so->so_proto->pr_protocol == IPPROTO_ICMPV6) { in rip6_output() 564 if (so->so_proto->pr_protocol == IPPROTO_ICMPV6) { in rip6_output()
|
| H A D | ip6_input.c | 279 pr->pr_protocol && pr->pr_protocol != IPPROTO_RAW) { in ip6_init() 281 if (pr->pr_protocol < IPPROTO_MAX) in ip6_init() 282 ip6_protox[pr->pr_protocol] = pr - inet6sw; in ip6_init() 320 pr->pr_protocol && pr->pr_protocol == ip6proto) { in ip6proto_register() 321 ip6_protox[pr->pr_protocol] = pr - inet6sw; in ip6proto_register()
|
| H A D | send.c | 331 .pr_protocol = IPPROTO_SEND,
|
| H A D | ip6_output.c | 1625 uproto = (int)so->so_proto->pr_protocol; in ip6_ctloutput() 2449 } else if (so->so_proto->pr_protocol == in ip6_raw_ctloutput() 2458 if (so->so_proto->pr_protocol == IPPROTO_ICMPV6) in ip6_raw_ctloutput() 2521 td->td_ucred : NULL, so->so_proto->pr_protocol)) != 0) { in ip6_pcbopts()
|
| H A D | ip6_mroute.c | 559 so->so_type, so->so_proto->pr_protocol); in ip6_mrouter_init() 562 so->so_proto->pr_protocol != IPPROTO_ICMPV6) in ip6_mrouter_init()
|
| /freebsd-13.1/sys/netgraph/bluetooth/socket/ |
| H A D | ng_btsocket.c | 176 .pr_protocol = BLUETOOTH_PROTO_HCI, 185 .pr_protocol = BLUETOOTH_PROTO_L2CAP, 193 .pr_protocol = BLUETOOTH_PROTO_L2CAP, 202 .pr_protocol = BLUETOOTH_PROTO_RFCOMM, 211 .pr_protocol = BLUETOOTH_PROTO_SCO,
|
| /freebsd-13.1/sys/kern/ |
| H A D | uipc_domain.c | 345 if ((pr->pr_protocol == protocol) && (pr->pr_type == type)) in pffindproto() 349 pr->pr_protocol == 0 && maybe == NULL) in pffindproto() 371 if (npr->pr_protocol == 0) in pf_proto_register() 394 (pr->pr_protocol == npr->pr_protocol)) { in pf_proto_register() 399 if ((fpr == NULL) && (pr->pr_protocol == PROTO_SPACER)) in pf_proto_register() 464 if ((pr->pr_type == type) && (pr->pr_protocol == protocol)) { in pf_proto_unregister() 489 dpr->pr_protocol = PROTO_SPACER; in pf_proto_unregister()
|
| H A D | uipc_debug.c | 322 db_printf("pr_protocol: %d\n", pr->pr_protocol); in db_print_protosw()
|
| H A D | kern_sendfile.c | 669 if ((*so)->so_proto->pr_protocol == IPPROTO_SCTP) in sendfile_getsock() 973 so->so_proto->pr_protocol == IPPROTO_TCP) in vn_sendfile()
|
| H A D | sys_socket.c | 380 kif->kf_un.kf_sock.kf_sock_protocol0 = so->so_proto->pr_protocol; in soo_fill_kinfo()
|
| /freebsd-13.1/contrib/traceroute/ |
| H A D | rip_output.c | 14 short proto = so->so_proto->pr_protocol;
|
| /freebsd-13.1/usr.bin/netstat/ |
| H A D | main.c | 89 int pr_protocol; member 696 (*pr)(off, name, af, tp->pr_protocol); in printproto()
|
| /freebsd-13.1/sys/sys/ |
| H A D | protosw.h | 84 short pr_protocol; /* protocol number */ member
|
| /freebsd-13.1/sys/netipsec/ |
| H A D | keysock.c | 447 .pr_protocol = PF_KEY_V2,
|
| /freebsd-13.1/sys/netgraph/ |
| H A D | ng_socket.c | 1175 .pr_protocol = NG_CONTROL, 1182 .pr_protocol = NG_DATA,
|
| /freebsd-13.1/sys/dev/cxgbe/cxgbei/ |
| H A D | icl_cxgbei.c | 688 MPASS(so->so_proto->pr_protocol == IPPROTO_TCP); in find_offload_adapter() 813 so->so_proto->pr_protocol != IPPROTO_TCP) { in icl_cxgbei_conn_handoff()
|
| /freebsd-13.1/sys/ofed/drivers/infiniband/ulp/sdp/ |
| H A D | sdp_main.c | 1949 .pr_protocol = IPPROTO_IP, 1958 .pr_protocol = IPPROTO_TCP,
|