Lines Matching defs:sock
118 int ret, sock = socket(PF_PACKET, SOCK_RAW, 0); in pfsocket() local
237 static void walk_v1_v2_rx(int sock, struct ring *ring) in walk_v1_v2_rx()
359 static void __v1_v2_set_packet_loss_discard(int sock) in __v1_v2_set_packet_loss_discard()
387 static void walk_tx(int sock, struct ring *ring) in walk_tx()
518 static void walk_v1_v2(int sock, struct ring *ring) in walk_v1_v2()
599 static void walk_v3_rx(int sock, struct ring *ring) in walk_v3_rx()
640 static void walk_v3(int sock, struct ring *ring) in walk_v3()
685 static void setup_ring(int sock, struct ring *ring, int version, int type) in setup_ring()
726 static void mmap_ring(int sock, struct ring *ring) in mmap_ring()
744 static void bind_ring(int sock, struct ring *ring) in bind_ring()
764 static void walk_ring(int sock, struct ring *ring) in walk_ring()
769 static void unmap_ring(int sock, struct ring *ring) in unmap_ring()
822 int sock; in test_tpacket() local