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))
423 setsockopt(fd, SOL_PACKET, PACKET_RX_RING, &foo, sizeof(foo));
424 setsockopt(fd, SOL_PACKET, PACKET_TX_RING, &bar, sizeof(bar));
454 enabled previously with setsockopt() and
547 setsockopt(fd, SOL_PACKET, PACKET_VERSION, &val, sizeof(val));
553 - Default if not otherwise specified by setsockopt(2)
674 err = setsockopt(fd, SOL_PACKET, PACKET_FANOUT,
677 perror("setsockopt");
839 err = setsockopt(fd, SOL_PACKET, PACKET_VERSION, &v, sizeof(v));
841 perror("setsockopt");
853 err = setsockopt(fd, SOL_PACKET, PACKET_RX_RING, &ring->req,
856 perror("setsockopt");
1013 setsockopt(fd, SOL_PACKET, PACKET_QDISC_BYPASS, &one, sizeof(one));
1038 setsockopt(fd, SOL_PACKET, PACKET_TIMESTAMP, (void *) &req, sizeof(req))