Searched refs:IPPROTO_RAW (Results 1 - 16 of 16) sorted by relevance

/freebsd-11-stable/contrib/ipfilter/ipsend/
H A Dsockraw.c46 if ((fd = socket(AF_INET, SOCK_RAW, IPPROTO_RAW)) < 0)
48 perror("socket(AF_INET, SOCK_RAW, IPPROTO_RAW)");
/freebsd-11-stable/contrib/traceroute/
H A Drip_output.c17 * if the protocol is IPPROTO_RAW, the user handed us a
21 if (proto != IPPROTO_RAW) {
H A Dtraceroute.c159 * IPPROTO_RAW must interpret the data sent as an ip datagram (as
550 else if ((sndsock = socket(AF_INET, SOCK_RAW, IPPROTO_RAW)) < 0)
/freebsd-11-stable/cddl/lib/libdtrace/
H A Dip.d168 #pragma D binding "1.5" IPPROTO_RAW
169 inline short IPPROTO_RAW = 255;
196 proto == IPPROTO_RAW ? "RAW" :
/freebsd-11-stable/sys/netinet/
H A Din_proto.c185 .pr_protocol = IPPROTO_RAW,
340 SYSCTL_NODE(_net_inet, IPPROTO_RAW, raw, CTLFLAG_RW, 0, "RAW");
H A Dip_input.c340 pr = pffindproto(PF_INET, IPPROTO_RAW, SOCK_RAW);
344 /* Initialize the entire ip_protox[] array to IPPROTO_RAW. */
354 pr->pr_protocol && pr->pr_protocol != IPPROTO_RAW) {
885 * already. An index pointing to IPPROTO_RAW is unused.
887 pr = pffindproto(PF_INET, IPPROTO_RAW, SOCK_RAW);
890 if (ip_protox[ipproto] != pr - inetsw) /* IPPROTO_RAW */
915 pr = pffindproto(PF_INET, IPPROTO_RAW, SOCK_RAW);
918 if (ip_protox[ipproto] == pr - inetsw) /* IPPROTO_RAW */
921 /* Reset the protocol slot to IPPROTO_RAW. */
H A Din.h127 #define IPPROTO_RAW 255 /* raw IP packet */ macro
/freebsd-11-stable/usr.bin/netstat/
H A Dmain.c104 ip_stats, NULL, "ip", 1, IPPROTO_RAW },
140 ip6_stats, ip6_ifstats, "ip6", 1, IPPROTO_RAW },
/freebsd-11-stable/usr.bin/procstat/
H A Dprocstat_files.c66 case IPPROTO_RAW:
/freebsd-11-stable/sys/netinet6/
H A Dip6_input.c263 pr = pffindproto(PF_INET6, IPPROTO_RAW, SOCK_RAW);
267 /* Initialize the entire ip6_protox[] array to IPPROTO_RAW. */
277 pr->pr_protocol && pr->pr_protocol != IPPROTO_RAW) {
304 * already. An index pointing to IPPROTO_RAW is unused.
306 pr = pffindproto(PF_INET6, IPPROTO_RAW, SOCK_RAW);
309 if (ip6_protox[ip6proto] != pr - inet6sw) /* IPPROTO_RAW */
336 pr = pffindproto(PF_INET6, IPPROTO_RAW, SOCK_RAW);
339 if (ip6_protox[ip6proto] == pr - inet6sw) /* IPPROTO_RAW */
342 /* Reset the protocol slot to IPPROTO_RAW. */
H A Din6_proto.c226 .pr_protocol = IPPROTO_RAW,
/freebsd-11-stable/sys/netgraph/
H A Dng_ksocket.c140 { "raw", IPPROTO_RAW, PF_INET },
/freebsd-11-stable/sbin/ipfw/
H A Dipfw2.c576 ipfw_socket = socket(AF_INET, SOCK_RAW, IPPROTO_RAW);
613 ipfw_socket = socket(AF_INET, SOCK_RAW, IPPROTO_RAW);
642 ipfw_socket = socket(AF_INET, SOCK_RAW, IPPROTO_RAW);
/freebsd-11-stable/sys/compat/svr4/
H A Dsvr4_stream.c410 pa->protocol = IPPROTO_RAW;
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_socket.c718 && (args->protocol == IPPROTO_RAW || args->protocol == 0)
/freebsd-11-stable/sys/netinet/libalias/
H A Dalias_db.c2737 la->fireWallFD = socket(AF_INET, SOCK_RAW, IPPROTO_RAW);

Completed in 232 milliseconds