Home
last modified time | relevance | path

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

12

/src/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,
/src/sys/kern/
H A Duipc_domain.c284 if ((pr = dp->dom_protosw[i]) != NULL && pr->pr_type == type && in pffindproto()
302 MPASS(npr && npr->pr_type > 0 && npr->pr_protocol > 0); in protosw_register()
321 if ((dp->dom_protosw[i]->pr_type == npr->pr_type) && in protosw_register()
H A Duipc_debug.c285 db_printf("pr_type: %d ", pr->pr_type); in db_print_protosw()
H A Duipc_usrreq.c3438 so->so_proto->pr_type == SOCK_DGRAM ? ECONNRESET : EPIPE; in unp_drop()
4377 .pr_type = SOCK_STREAM,
4408 .pr_type = SOCK_DGRAM,
4433 .pr_type = SOCK_SEQPACKET,
/src/contrib/less/
H A Dprompt.c23 extern int pr_type;
594 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
355 O_TRIPLE, OPT_OFF, &pr_type, NULL,
H A Doptfunc.c32 extern int pr_type;
471 parg.p_string = prproto[pr_type]; in opt__P()
/src/sys/sys/
H A Dprotosw.h107 short pr_type; /* socket type used for */ member
/src/sys/netinet6/
H A Dsend.c320 .pr_type = SOCK_RAW,
H A Din6_mcast.c1796 if (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in ip6_getmoptions()
1797 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM) { in ip6_getmoptions()
2678 if (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in ip6_setmoptions()
2679 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM) in ip6_setmoptions()
H A Dsctp6_usrreq.c1113 .pr_type = SOCK_SEQPACKET,
1119 .pr_type = SOCK_STREAM,
H A Draw_ip6.c861 .pr_type = SOCK_RAW,
H A Dudp6_usrreq.c1280 .pr_type = SOCK_DGRAM, \
/src/sys/netipsec/
H A Dkeysock.c337 .pr_type = SOCK_RAW,
/src/usr.sbin/traceroute6/
H A Dtraceroute6.c297 const char *pr_type(int);
1271 pr_type(int t0) in pr_type() function
1488 printf(": icmp type %d (%s) code %d\n", *type, pr_type(*type), in packet_ok()
/src/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()
/src/sys/netgraph/
H A Dng_socket.c1138 .pr_type = SOCK_DGRAM,
1150 .pr_type = SOCK_DGRAM,
/src/sys/netlink/
H A Dnetlink_domain.c991 .pr_type = SOCK_RAW,
996 .pr_type = SOCK_DGRAM,
/src/sys/netinet/
H A Din_mcast.c1743 if (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in inp_getmoptions()
1744 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM) { in inp_getmoptions()
2687 if (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in inp_setmoptions()
2688 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM) in inp_setmoptions()
H A Dip_divert.c712 .pr_type = SOCK_RAW,
H A Draw_ip.c1092 .pr_type = SOCK_RAW,
H A Dtcp_usrreq.c1405 .pr_type = SOCK_STREAM,
1434 .pr_type = SOCK_STREAM,
H A Dudp_usrreq.c1781 .pr_type = SOCK_DGRAM, \
/src/sys/dev/hyperv/hvsock/
H A Dhv_sock.c90 .pr_type = SOCK_STREAM,
/src/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_main.c1883 .pr_type = SOCK_STREAM, \

12