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

/freebsd-10.0-release/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-10.0-release/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
508 else if ((sndsock = socket(AF_INET, SOCK_RAW, IPPROTO_RAW)) < 0)
/freebsd-10.0-release/cddl/lib/libdtrace/
H A Dip.d168 #pragma D binding "1.0" IPPROTO_RAW
169 inline short IPPROTO_RAW = 255;
196 proto == IPPROTO_RAW ? "RAW" :
/freebsd-10.0-release/sys/netinet/
H A Din_proto.c189 .pr_protocol = IPPROTO_RAW,
382 SYSCTL_NODE(_net_inet, IPPROTO_RAW, raw, CTLFLAG_RW, 0, "RAW");
H A Din.h127 #define IPPROTO_RAW 255 /* raw IP packet */ macro
H A Dip_input.c334 pr = pffindproto(PF_INET, IPPROTO_RAW, SOCK_RAW);
338 /* Initialize the entire ip_protox[] array to IPPROTO_RAW. */
348 pr->pr_protocol && pr->pr_protocol != IPPROTO_RAW) {
1276 * already. An index pointing to IPPROTO_RAW is unused.
1278 pr = pffindproto(PF_INET, IPPROTO_RAW, SOCK_RAW);
1281 if (ip_protox[ipproto] != pr - inetsw) /* IPPROTO_RAW */
1306 pr = pffindproto(PF_INET, IPPROTO_RAW, SOCK_RAW);
1309 if (ip_protox[ipproto] == pr - inetsw) /* IPPROTO_RAW */
1312 /* Reset the protocol slot to IPPROTO_RAW. */
/freebsd-10.0-release/usr.bin/netstat/
H A Dmain.c198 ip_stats, NULL, "ip", 1, IPPROTO_RAW },
232 ip6_stats, ip6_ifstats, "ip6", 1, IPPROTO_RAW },
/freebsd-10.0-release/sys/netinet6/
H A Dip6_input.c225 pr = (struct ip6protosw *)pffindproto(PF_INET6, IPPROTO_RAW, SOCK_RAW);
229 /* Initialize the entire ip6_protox[] array to IPPROTO_RAW. */
239 pr->pr_protocol && pr->pr_protocol != IPPROTO_RAW) {
263 * already. An index pointing to IPPROTO_RAW is unused.
265 pr = (struct ip6protosw *)pffindproto(PF_INET6, IPPROTO_RAW, SOCK_RAW);
268 if (ip6_protox[ip6proto] != pr - inet6sw) /* IPPROTO_RAW */
295 pr = (struct ip6protosw *)pffindproto(PF_INET6, IPPROTO_RAW, SOCK_RAW);
298 if (ip6_protox[ip6proto] == pr - inet6sw) /* IPPROTO_RAW */
301 /* Reset the protocol slot to IPPROTO_RAW. */
H A Din6_proto.c223 .pr_protocol = IPPROTO_RAW,
/freebsd-10.0-release/usr.bin/procstat/
H A Dprocstat_files.c63 case IPPROTO_RAW:
/freebsd-10.0-release/sys/netgraph/
H A Dng_ksocket.c142 { "raw", IPPROTO_RAW, PF_INET },
/freebsd-10.0-release/sys/compat/linux/
H A Dlinux_socket.c686 && (bsd_args.protocol == IPPROTO_RAW || bsd_args.protocol == 0)
/freebsd-10.0-release/sys/compat/svr4/
H A Dsvr4_stream.c409 pa->protocol = IPPROTO_RAW;
/freebsd-10.0-release/sbin/ipfw/
H A Dipfw2.c429 ipfw_socket = socket(AF_INET, SOCK_RAW, IPPROTO_RAW);
468 ipfw_socket = socket(AF_INET, SOCK_RAW, IPPROTO_RAW);
/freebsd-10.0-release/sys/netinet/libalias/
H A Dalias_db.c2736 la->fireWallFD = socket(AF_INET, SOCK_RAW, IPPROTO_RAW);

Completed in 179 milliseconds