Home
last modified time | relevance | path

Searched refs:SOL_PACKET (Results 1 – 12 of 12) sorted by relevance

/external/android-clat/
Dring.c40 if (setsockopt(packetsock, SOL_PACKET, PACKET_VERSION, (void *) &ver, sizeof(ver))) { in ring_create()
46 if (setsockopt(packetsock, SOL_PACKET, PACKET_LOSS, (void *) &on, sizeof(on))) { in ring_create()
62 if (setsockopt(packetsock, SOL_PACKET, PACKET_RX_RING, &req, sizeof(req)) < 0) { in ring_create()
/external/strace/xlat/
Dsocketlayers.h52 #if defined(SOL_PACKET) || (defined(HAVE_DECL_SOL_PACKET) && HAVE_DECL_SOL_PACKET)
53 XLAT(SOL_PACKET),
Dsocketlayers.in17 SOL_PACKET
/external/dhcpcd/
Dlpf.c106 if (setsockopt(s, SOL_PACKET, PACKET_AUXDATA, &n, sizeof(n)) != 0) { in open_socket()
204 if (cmsg->cmsg_level == SOL_PACKET && in get_raw_packet()
/external/strace/
Dnet.c128 #ifndef SOL_PACKET
129 # define SOL_PACKET 263 macro
1139 case SOL_PACKET: in print_sockopt_fd_level_name()
1254 case SOL_PACKET: in print_getsockopt()
1431 case SOL_PACKET: in print_setsockopt()
DNEWS315 * Enhanced SOL_PACKET socket options decoding.
DChangeLog-CVS4646 * net.c: add SOL_PACKET and SOL_RAW socket options, update
/external/libpcap/
Dpcap-linux.c264 #ifndef SOL_PACKET
271 #define SOL_PACKET 263 macro
1639 cmsg->cmsg_level != SOL_PACKET ||
1886 if (getsockopt(handle->fd, SOL_PACKET, PACKET_STATISTICS,
3256 if (setsockopt(sock_fd, SOL_PACKET, PACKET_ADD_MEMBERSHIP,
3269 if (setsockopt(sock_fd, SOL_PACKET, PACKET_AUXDATA, &val,
3459 if (getsockopt(handle->fd, SOL_PACKET, PACKET_HDRLEN, &val, &len) < 0) {
3473 if (setsockopt(handle->fd, SOL_PACKET, PACKET_VERSION, &val,
3485 if (setsockopt(handle->fd, SOL_PACKET, PACKET_RESERVE, &val,
3660 if (getsockopt(handle->fd, SOL_PACKET, PACKET_RESERVE,
[all …]
DCHANGES392 SOL_PACKET in the userland headers.
/external/wpa_supplicant_8/src/drivers/
Ddriver_wired.c100 if (setsockopt(sock, SOL_PACKET, in wired_multicast_membership()
Ddriver_macsec_qca.c91 if (setsockopt(sock, SOL_PACKET, in macsec_qca_multicast_membership()
Ddriver_nl80211.c1580 if (cmsg->cmsg_level == SOL_PACKET && in wpa_driver_nl80211_handle_eapol_tx_status()