Home
last modified time | relevance | path

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

12

/freebsd/sys/netgraph/bluetooth/socket/
H A Dng_btsocket.c71 .pr_type = SOCK_RAW,
90 .pr_type = SOCK_RAW,
108 .pr_type = SOCK_SEQPACKET,
129 .pr_type = SOCK_STREAM,
150 .pr_type = SOCK_SEQPACKET,
/freebsd/sys/kern/
H A Duipc_domain.c299 if ((pr = dp->dom_protosw[i]) != NULL && pr->pr_type == type && in pffindproto()
317 MPASS(npr && npr->pr_type > 0 && npr->pr_protocol > 0); in protosw_register()
336 if ((dp->dom_protosw[i]->pr_type == npr->pr_type) && in protosw_register()
H A Duipc_debug.c292 db_printf("pr_type: %d ", pr->pr_type); in db_print_protosw()
H A Duipc_usrreq.c3361 .pr_type = SOCK_STREAM,
3388 .pr_type = SOCK_DGRAM,
3412 .pr_type = SOCK_SEQPACKET,
/freebsd/contrib/less/
H A Dprompt.c23 extern int pr_type;
543 type = (!less_is_more) ? pr_type : pr_type ? 0 : 1; in pr_string()
H A Dopttbl.c26 public int pr_type; /* Type of prompt (short, medium, long) */ variable
336 TRIPLE, OPT_OFF, &pr_type, NULL,
H A Doptfunc.c32 extern int pr_type;
445 parg.p_string = prproto[pr_type]; in opt__P()
H A Dmain.c61 extern int pr_type;
/freebsd/sys/sys/
H A Dprotosw.h109 short pr_type; /* socket type used for */ member
/freebsd/sys/netinet6/
H A Dsend.c320 .pr_type = SOCK_RAW,
H A Din6_mcast.c1797 if (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in ip6_getmoptions()
1798 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM) { in ip6_getmoptions()
2676 if (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in ip6_setmoptions()
2677 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM) in ip6_setmoptions()
H A Dsctp6_usrreq.c1108 .pr_type = SOCK_SEQPACKET,
1114 .pr_type = SOCK_STREAM,
H A Draw_ip6.c850 .pr_type = SOCK_RAW,
H A Dudp6_usrreq.c1252 .pr_type = SOCK_DGRAM, \
/freebsd/sys/netipsec/
H A Dkeysock.c338 .pr_type = SOCK_RAW,
/freebsd/usr.sbin/traceroute6/
H A Dtraceroute6.c297 const char *pr_type(int);
1265 pr_type(int t0) in pr_type() function
1482 printf(": icmp type %d (%s) code %d\n", *type, pr_type(*type), in packet_ok()
/freebsd/usr.sbin/traceroute/
H A Dtraceroute.c363 char *pr_type(u_char);
1336 pr_type(register u_char t) in pr_type() function
1407 inet_ntoa(ip->ip_dst), type, pr_type(type), icp->icmp_code); in packet_ok()
/freebsd/sys/netlink/
H A Dnetlink_domain.c997 .pr_type = SOCK_RAW,
1002 .pr_type = SOCK_DGRAM,
/freebsd/sys/netgraph/
H A Dng_socket.c1138 .pr_type = SOCK_DGRAM,
1150 .pr_type = SOCK_DGRAM,
/freebsd/sys/netinet/
H A Din_mcast.c1745 if (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in inp_getmoptions()
1746 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM) { in inp_getmoptions()
2705 if (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in inp_setmoptions()
2706 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM) in inp_setmoptions()
H A Dip_divert.c709 .pr_type = SOCK_RAW,
H A Draw_ip.c1080 .pr_type = SOCK_RAW,
H A Dtcp_usrreq.c1397 .pr_type = SOCK_STREAM,
1425 .pr_type = SOCK_STREAM,
H A Dudp_usrreq.c1739 .pr_type = SOCK_DGRAM, \
/freebsd/sys/dev/hyperv/hvsock/
H A Dhv_sock.c90 .pr_type = SOCK_STREAM,

12