Lines Matching defs:sock
101 int ret, sock = socket(PF_PACKET, SOCK_RAW, 0); in pfsocket() local
220 static void walk_v1_v2_rx(int sock, struct ring *ring) in walk_v1_v2_rx()
342 static void __v1_v2_set_packet_loss_discard(int sock) in __v1_v2_set_packet_loss_discard()
369 static void walk_tx(int sock, struct ring *ring) in walk_tx()
500 static void walk_v1_v2(int sock, struct ring *ring) in walk_v1_v2()
581 static void walk_v3_rx(int sock, struct ring *ring) in walk_v3_rx()
622 static void walk_v3(int sock, struct ring *ring) in walk_v3()
667 static void setup_ring(int sock, struct ring *ring, int version, int type) in setup_ring()
708 static void mmap_ring(int sock, struct ring *ring) in mmap_ring()
726 static void bind_ring(int sock, struct ring *ring) in bind_ring()
746 static void walk_ring(int sock, struct ring *ring) in walk_ring()
751 static void unmap_ring(int sock, struct ring *ring) in unmap_ring()
804 int sock; in test_tpacket() local