Lines Matching defs:sock
116 int ret, sock = socket(PF_PACKET, SOCK_RAW, 0); in pfsocket() local
235 static void walk_v1_v2_rx(int sock, struct ring *ring) in walk_v1_v2_rx()
357 static void __v1_v2_set_packet_loss_discard(int sock) in __v1_v2_set_packet_loss_discard()
385 static void walk_tx(int sock, struct ring *ring) in walk_tx()
516 static void walk_v1_v2(int sock, struct ring *ring) in walk_v1_v2()
597 static void walk_v3_rx(int sock, struct ring *ring) in walk_v3_rx()
638 static void walk_v3(int sock, struct ring *ring) in walk_v3()
683 static void setup_ring(int sock, struct ring *ring, int version, int type) in setup_ring()
724 static void mmap_ring(int sock, struct ring *ring) in mmap_ring()
742 static void bind_ring(int sock, struct ring *ring) in bind_ring()
762 static void walk_ring(int sock, struct ring *ring) in walk_ring()
767 static void unmap_ring(int sock, struct ring *ring) in unmap_ring()
820 int sock; in test_tpacket() local