Home
last modified time | relevance | path

Searched refs:pr_type (Results 1 – 25 of 26) sorted by relevance

12

/freebsd-13.1/sys/netinet/
H A Din_proto.c112 .pr_type = 0,
181 .pr_type = SOCK_RAW,
191 .pr_type = SOCK_RAW,
200 .pr_type = SOCK_RAW,
211 .pr_type = SOCK_RAW,
220 .pr_type = SOCK_RAW,
229 .pr_type = SOCK_RAW,
238 .pr_type = SOCK_RAW,
247 .pr_type = SOCK_RAW,
257 .pr_type = SOCK_RAW,
[all …]
H A Dsctp_module.c59 .pr_type = SOCK_STREAM,
71 .pr_type = SOCK_SEQPACKET,
87 .pr_type = SOCK_STREAM,
100 .pr_type = SOCK_SEQPACKET,
H A Din_mcast.c1799 (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in inp_getmoptions()
1800 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM)) { in inp_getmoptions()
2764 (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in inp_setmoptions()
2765 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM)) in inp_setmoptions()
H A Dip_divert.c797 .pr_type = SOCK_RAW,
H A Dip_carp.c2180 .pr_type = SOCK_RAW,
2194 .pr_type = SOCK_RAW,
/freebsd-13.1/sys/netinet6/
H A Din6_proto.c145 .pr_type = 0,
222 .pr_type = SOCK_RAW,
236 .pr_type = SOCK_RAW,
249 .pr_type = SOCK_RAW,
257 .pr_type = SOCK_RAW,
265 .pr_type = SOCK_RAW,
274 .pr_type = SOCK_RAW,
285 .pr_type = SOCK_RAW,
295 .pr_type = SOCK_RAW,
305 .pr_type = SOCK_RAW,
[all …]
H A Dsend.c329 .pr_type = SOCK_RAW,
H A Din6_mcast.c1768 (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in ip6_getmoptions()
1769 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM)) { in ip6_getmoptions()
2639 (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in ip6_setmoptions()
2640 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM)) in ip6_setmoptions()
/freebsd-13.1/sys/netgraph/bluetooth/socket/
H A Dng_btsocket.c174 .pr_type = SOCK_RAW,
183 .pr_type = SOCK_RAW,
191 .pr_type = SOCK_SEQPACKET,
200 .pr_type = SOCK_STREAM,
209 .pr_type = SOCK_SEQPACKET,
/freebsd-13.1/sys/kern/
H A Duipc_domain.c324 if (pr->pr_type && pr->pr_type == type) in pffindtype()
345 if ((pr->pr_protocol == protocol) && (pr->pr_type == type)) in pffindproto()
348 if (type == SOCK_RAW && pr->pr_type == SOCK_RAW && in pffindproto()
369 if (npr->pr_type == 0) in pf_proto_register()
393 if ((pr->pr_type == npr->pr_type) && in pf_proto_register()
464 if ((pr->pr_type == type) && (pr->pr_protocol == protocol)) { in pf_proto_unregister()
487 dpr->pr_type = 0; in pf_proto_unregister()
H A Duipc_debug.c316 db_printf("pr_type: %d ", pr->pr_type); in db_print_protosw()
H A Duipc_usrreq.c429 .pr_type = SOCK_STREAM,
436 .pr_type = SOCK_DGRAM,
443 .pr_type = SOCK_SEQPACKET,
/freebsd-13.1/contrib/less/
H A Dprompt.c23 extern int pr_type;
580 type = (!less_is_more) ? pr_type : pr_type ? 0 : 1; in pr_string()
H A Dopttbl.c25 public int pr_type; /* Type of prompt (short, medium, long) */ variable
306 TRIPLE, OPT_OFF, &pr_type, NULL,
H A Doptfunc.c32 extern int pr_type;
472 parg.p_string = prproto[pr_type];
H A Dmain.c61 extern int pr_type;
/freebsd-13.1/sys/sys/
H A Dprotosw.h82 short pr_type; /* socket type used for */ member
/freebsd-13.1/usr.sbin/traceroute6/
H A Dtraceroute6.c310 const char *pr_type(int);
1250 pr_type(int t0) in pr_type() function
1466 printf(": icmp type %d (%s) code %d\n", *type, pr_type(*type), in packet_ok()
/freebsd-13.1/sys/netipsec/
H A Dkeysock.c445 .pr_type = SOCK_RAW,
/freebsd-13.1/sys/netgraph/
H A Dng_socket.c1173 .pr_type = SOCK_DGRAM,
1180 .pr_type = SOCK_DGRAM,
/freebsd-13.1/contrib/traceroute/
H A Dtraceroute.c388 char *pr_type(u_char);
1384 pr_type(register u_char t) in pr_type() function
1459 inet_ntoa(ip->ip_dst), type, pr_type(type), icp->icmp_code); in packet_ok()
/freebsd-13.1/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_main.c1947 .pr_type = SOCK_STREAM,
1956 .pr_type = SOCK_STREAM,
/freebsd-13.1/sys/dev/hyperv/hvsock/
H A Dhv_sock.c115 .pr_type = SOCK_STREAM,
/freebsd-13.1/sys/netpfil/pf/
H A Dif_pfsync.c2426 .pr_type = SOCK_RAW,
/freebsd-13.1/sys/net/
H A Drtsock.c2689 .pr_type = SOCK_RAW,

12