Lines Matching refs:setsockopt
68 setsockopt() ---> allocation of the circular buffer (ring)
108 setsockopt() ---> allocation of the circular buffer (ring)
183 to make this work it must be enabled previously with setsockopt()
193 setsockopt(fd, SOL_PACKET, PACKET_RX_RING, (void *) &req, sizeof(req))
197 setsockopt(fd, SOL_PACKET, PACKET_TX_RING, (void *) &req, sizeof(req))
422 setsockopt(fd, SOL_PACKET, PACKET_RX_RING, &foo, sizeof(foo));
423 setsockopt(fd, SOL_PACKET, PACKET_TX_RING, &bar, sizeof(bar));
453 enabled previously with setsockopt() and
546 setsockopt(fd, SOL_PACKET, PACKET_VERSION, &val, sizeof(val));
552 - Default if not otherwise specified by setsockopt(2)
673 err = setsockopt(fd, SOL_PACKET, PACKET_FANOUT,
676 perror("setsockopt");
838 err = setsockopt(fd, SOL_PACKET, PACKET_VERSION, &v, sizeof(v));
840 perror("setsockopt");
852 err = setsockopt(fd, SOL_PACKET, PACKET_RX_RING, &ring->req,
855 perror("setsockopt");
1012 setsockopt(fd, SOL_PACKET, PACKET_QDISC_BYPASS, &one, sizeof(one));
1037 setsockopt(fd, SOL_PACKET, PACKET_TIMESTAMP, (void *) &req, sizeof(req))