Home
last modified time | relevance | path

Searched refs:SOL_PACKET (Results 1 – 13 of 13) 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.h50 #if !(defined(SOL_PACKET) || (defined(HAVE_DECL_SOL_PACKET) && HAVE_DECL_SOL_PACKET))
51 # define SOL_PACKET 263 macro
129 XLAT(SOL_PACKET),
Dsocketlayers.in17 SOL_PACKET 263
/external/libpcap/
Dpcap-linux.c269 #ifndef SOL_PACKET
276 #define SOL_PACKET 263 macro
1728 cmsg->cmsg_level != SOL_PACKET ||
1979 if (getsockopt(handle->fd, SOL_PACKET, PACKET_STATISTICS,
3407 if (setsockopt(sock_fd, SOL_PACKET, PACKET_ADD_MEMBERSHIP,
3420 if (setsockopt(sock_fd, SOL_PACKET, PACKET_AUXDATA, &val,
3636 if (getsockopt(handle->fd, SOL_PACKET, PACKET_HDRLEN, &val, &len) < 0) {
3650 if (setsockopt(handle->fd, SOL_PACKET, PACKET_VERSION, &val,
3662 if (setsockopt(handle->fd, SOL_PACKET, PACKET_RESERVE, &val,
3926 if (getsockopt(handle->fd, SOL_PACKET, PACKET_RESERVE,
[all …]
DCHANGES443 SOL_PACKET in the userland headers.
/external/strace/
Dnet.c1179 case SOL_PACKET: in print_sockopt_fd_level_name()
1294 case SOL_PACKET: in print_getsockopt()
1519 case SOL_PACKET: in print_setsockopt()
DNEWS401 * Enhanced SOL_PACKET socket options decoding.
DChangeLog-CVS4646 * net.c: add SOL_PACKET and SOL_RAW socket options, update
/external/wpa_supplicant_8/src/drivers/
Ddriver_wired.c101 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.c1616 if (cmsg->cmsg_level == SOL_PACKET && in wpa_driver_nl80211_handle_eapol_tx_status()
/external/toybox/toys/pending/
Ddhcp6.c256 if (setsockopt(TT.sock, SOL_PACKET, PACKET_HOST,&constone, sizeof(int)) < 0) { in mode_raw()
/external/dhcpcd-6.8.2/
Dif-linux.c1176 if (setsockopt(s, SOL_PACKET, PACKET_AUXDATA, &n, sizeof(n)) != 0) { in if_openrawsocket()
1273 if (cmsg->cmsg_level == SOL_PACKET && in if_readrawpacket()