Home
last modified time | relevance | path

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

/freebsd-12.1/sys/netinet/
H A Din_proto.c116 .pr_type = 0,
185 .pr_type = SOCK_RAW,
195 .pr_type = SOCK_RAW,
204 .pr_type = SOCK_RAW,
215 .pr_type = SOCK_RAW,
224 .pr_type = SOCK_RAW,
233 .pr_type = SOCK_RAW,
242 .pr_type = SOCK_RAW,
251 .pr_type = SOCK_RAW,
261 .pr_type = SOCK_RAW,
[all …]
H A Din_mcast.c1789 (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in inp_getmoptions()
1790 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM)) { in inp_getmoptions()
2734 (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in inp_setmoptions()
2735 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM)) in inp_setmoptions()
H A Dip_divert.c756 .pr_type = SOCK_RAW,
H A Dip_carp.c2154 .pr_type = SOCK_RAW,
2168 .pr_type = SOCK_RAW,
/freebsd-12.1/sys/netinet6/
H A Din6_proto.c149 .pr_type = 0,
226 .pr_type = SOCK_RAW,
240 .pr_type = SOCK_RAW,
253 .pr_type = SOCK_RAW,
261 .pr_type = SOCK_RAW,
269 .pr_type = SOCK_RAW,
278 .pr_type = SOCK_RAW,
289 .pr_type = SOCK_RAW,
299 .pr_type = SOCK_RAW,
309 .pr_type = SOCK_RAW,
[all …]
H A Dsend.c311 .pr_type = SOCK_RAW,
H A Din6_mcast.c1759 (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in ip6_getmoptions()
1760 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM)) { in ip6_getmoptions()
2637 (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in ip6_setmoptions()
2638 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM)) in ip6_setmoptions()
/freebsd-12.1/sys/kern/
H A Duipc_domain.c295 if (pr->pr_type && pr->pr_type == type) in pffindtype()
316 if ((pr->pr_protocol == protocol) && (pr->pr_type == type)) in pffindproto()
319 if (type == SOCK_RAW && pr->pr_type == SOCK_RAW && in pffindproto()
340 if (npr->pr_type == 0) in pf_proto_register()
364 if ((pr->pr_type == npr->pr_type) && in pf_proto_register()
428 if ((pr->pr_type == type) && (pr->pr_protocol == protocol)) { in pf_proto_unregister()
444 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.c397 .pr_type = SOCK_STREAM,
404 .pr_type = SOCK_DGRAM,
411 .pr_type = SOCK_SEQPACKET,
H A Duipc_socket.c524 if (prp->pr_type != type) in socreate()
/freebsd-12.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-12.1/contrib/less/
H A Dprompt.c23 extern int pr_type;
571 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
279 TRIPLE, OPT_OFF, &pr_type, NULL,
H A Doptfunc.c32 extern int pr_type;
440 parg.p_string = prproto[pr_type];
H A Dmain.c62 extern int pr_type;
/freebsd-12.1/sys/sys/
H A Dprotosw.h80 short pr_type; /* socket type used for */ member
/freebsd-12.1/usr.sbin/traceroute6/
H A Dtraceroute6.c311 const char *pr_type(int);
1203 pr_type(int t0) in pr_type() function
1419 printf(": icmp type %d (%s) code %d\n", *type, pr_type(*type), in packet_ok()
/freebsd-12.1/sys/netipsec/
H A Dkeysock.c444 .pr_type = SOCK_RAW,
/freebsd-12.1/sys/netgraph/
H A Dng_socket.c1147 .pr_type = SOCK_DGRAM,
1154 .pr_type = SOCK_DGRAM,
/freebsd-12.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-12.1/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_main.c1934 .pr_type = SOCK_STREAM,
1943 .pr_type = SOCK_STREAM,
/freebsd-12.1/sys/net/
H A Drtsock.c1975 .pr_type = SOCK_RAW,
/freebsd-12.1/sys/netpfil/pf/
H A Dif_pfsync.c2415 .pr_type = SOCK_RAW,