/external/bcc/examples/networking/dns_matching/ |
D | dns_matching.c | 61 struct ethernet_t *ethernet = cursor_advance(cursor, sizeof(*ethernet)); in dns_matching() 65 struct ip_t *ip = cursor_advance(cursor, sizeof(*ip)); in dns_matching() 70 struct udp_t *udp = cursor_advance(cursor, sizeof(*udp)); in dns_matching() 73 struct dns_hdr_t *dns_hdr = cursor_advance(cursor, sizeof(*dns_hdr)); in dns_matching() 85 c = cursor_advance(cursor, 1); in dns_matching()
|
/external/bcc/tests/python/ |
D | test_xlate1.c | 24 struct ethernet_t *ethernet = cursor_advance(cursor, sizeof(*ethernet)); in on_packet() 34 struct dot1q_t *dot1q = cursor_advance(cursor, sizeof(*dot1q)); in on_packet() 43 struct arp_t *arp = cursor_advance(cursor, sizeof(*arp)); in on_packet() 58 struct ip_t *ip = cursor_advance(cursor, sizeof(*ip)); in on_packet() 79 struct udp_t *udp = cursor_advance(cursor, sizeof(*udp)); in on_packet() 88 struct tcp_t *tcp = cursor_advance(cursor, sizeof(*tcp)); in on_packet()
|
D | test_clang_complex.c | 74 struct ethernet_t *ethernet = cursor_advance(cursor, sizeof(*ethernet)); in handle_packet() 83 struct dot1q_t *dot1q = cursor_advance(cursor, sizeof(*dot1q)); in handle_packet() 92 struct arp_t *arp = cursor_advance(cursor, sizeof(*arp)); in handle_packet() 105 ip = cursor_advance(cursor, sizeof(*ip)); in handle_packet() 113 struct tcp_t *tcp = cursor_advance(cursor, sizeof(*tcp)); in handle_packet() 117 struct udp_t *udp = cursor_advance(cursor, sizeof(*udp)); in handle_packet()
|
D | test_stat1.c | 20 struct ethernet_t *ethernet = cursor_advance(cursor, sizeof(*ethernet)); in on_packet() 29 struct dot1q_t *dot1q = cursor_advance(cursor, sizeof(*dot1q)); in on_packet() 37 struct ip_t *ip = cursor_advance(cursor, sizeof(*ip)); in on_packet()
|
D | test_brb.c | 120 struct ethernet_t *ethernet = cursor_advance(cursor, sizeof(*ethernet)); in br_common() 161 struct dot1q_t *dot1q = cursor_advance(cursor, sizeof(*dot1q)); in br_common() 170 struct arp_t *arp = cursor_advance(cursor, sizeof(*arp)); in br_common() 194 struct ip_t *ip = cursor_advance(cursor, sizeof(*ip)); in br_common()
|
D | test_brb2.c | 14 struct ethernet_t *ethernet = cursor_advance(cursor, sizeof(*ethernet)); in pem()
|
/external/bcc/examples/networking/tunnel_monitor/ |
D | monitor.c | 64 struct ethernet_t *ethernet = cursor_advance(cursor, sizeof(*ethernet)); in handle_outer() 76 struct ip_t *ip = cursor_advance(cursor, sizeof(*ip)); in handle_outer() 86 struct udp_t *udp = cursor_advance(cursor, sizeof(*udp)); in handle_outer() 93 struct vxlan_t *vxlan = cursor_advance(cursor, sizeof(*vxlan)); in handle_outer() 113 struct ethernet_t *ethernet = cursor_advance(cursor, sizeof(*ethernet)); in handle_inner() 119 struct ip_t *ip = cursor_advance(cursor, sizeof(*ip)); in handle_inner()
|
/external/bcc/examples/networking/neighbor_sharing/ |
D | tc_neighbor_sharing.c | 24 struct ethernet_t *ethernet = cursor_advance(cursor, sizeof(*ethernet)); in classify_wan() 31 struct ip_t *ip = cursor_advance(cursor, sizeof(*ip)); in classify_wan() 49 struct ethernet_t *ethernet = cursor_advance(cursor, sizeof(*ethernet)); in classify_neighbor() 56 struct ip_t *ip = cursor_advance(cursor, sizeof(*ip)); in classify_neighbor()
|
/external/bcc/examples/networking/http_filter/ |
D | http-parse-simple.c | 20 struct ethernet_t *ethernet = cursor_advance(cursor, sizeof(*ethernet)); in http_filter() 26 struct ip_t *ip = cursor_advance(cursor, sizeof(*ip)); in http_filter() 48 void *_ = cursor_advance(cursor, (ip_header_length-sizeof(*ip))); in http_filter() 50 struct tcp_t *tcp = cursor_advance(cursor, sizeof(*tcp)); in http_filter()
|
D | http-parse-complete.c | 40 struct ethernet_t *ethernet = cursor_advance(cursor, sizeof(*ethernet)); in http_filter() 46 struct ip_t *ip = cursor_advance(cursor, sizeof(*ip)); in http_filter() 70 void *_ = cursor_advance(cursor, (ip_header_length-sizeof(*ip))); in http_filter() 72 struct tcp_t *tcp = cursor_advance(cursor, sizeof(*tcp)); in http_filter()
|
/external/bcc/examples/networking/vlan_filter/ |
D | data-plane-tracing.c | 24 struct ethernet_t *ethernet = cursor_advance(cursor, sizeof(*ethernet)); in vlan_filter() 34 struct ip_t *ip = cursor_advance(cursor, sizeof(*ip)); // IP header (datagram) in vlan_filter() 41 struct udp_t *udp = cursor_advance(cursor, sizeof(*udp)); in vlan_filter()
|
/external/bcc/examples/networking/vlan_learning/ |
D | vlan_learning.c | 26 struct ethernet_t *ethernet = cursor_advance(cursor, sizeof(*ethernet)); in handle_phys2virt() 51 struct ethernet_t *ethernet = cursor_advance(cursor, sizeof(*ethernet)); in handle_virt2phys()
|
/external/bcc/examples/networking/distributed_bridge/ |
D | tunnel.c | 29 struct ethernet_t *ethernet = cursor_advance(cursor, sizeof(*ethernet)); in handle_ingress() 58 struct ethernet_t *ethernet = cursor_advance(cursor, sizeof(*ethernet)); in handle_egress()
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_lwt_seg6local.c | 17 #define cursor_advance(_cursor, _len) \ macro 81 ip = cursor_advance(cursor, sizeof(*ip)); in get_srh() 88 srh = cursor_advance(cursor, sizeof(*srh)); in get_srh()
|