Lines Matching refs:sock_packet
40 * PF_INET/SOCK_PACKET, which means "recvfrom()" supplies a
106 * sockets rather than SOCK_PACKET sockets.
300 * older kernels had a special socket type SOCK_PACKET to
330 * If we're using SOCK_PACKET, this might be a 2.0[.x] kernel,
333 if (handle->md.sock_packet && (uname(&utsname) < 0 ||
336 * We're using a SOCK_PACKET structure, and either
341 * a SOCK_PACKET socket, with MSG_TRUNC set, will
390 * either because we're not using a SOCK_PACKET
528 if (!handle->md.sock_packet) {
548 * address returned for SOCK_PACKET is a "sockaddr_pkt"
748 if (!handle->md.sock_packet) {
1066 if (!handle->md.sock_packet) {
1076 "Setting direction is not supported on SOCK_PACKET sockets");
1416 handle->md.sock_packet = 0;
1787 handle->fd = socket(PF_INET, SOCK_PACKET, htons(ETH_P_ALL));
1795 handle->md.sock_packet = 1;