/external/iproute2/examples/bpf/ |
D | bpf_prog.c | 252 static inline bool flow_is_frag(struct __sk_buff *skb, int nh_off) in flow_is_frag() argument 254 return !!(load_half(skb, nh_off + offsetof(struct iphdr, frag_off)) & in flow_is_frag() 258 static inline int flow_parse_ipv4(struct __sk_buff *skb, int nh_off, in flow_parse_ipv4() argument 263 if (unlikely(flow_is_frag(skb, nh_off))) in flow_parse_ipv4() 266 *ip_proto = load_byte(skb, nh_off + offsetof(struct iphdr, in flow_parse_ipv4() 269 flow->src = load_word(skb, nh_off + offsetof(struct iphdr, saddr)); in flow_parse_ipv4() 270 flow->dst = load_word(skb, nh_off + offsetof(struct iphdr, daddr)); in flow_parse_ipv4() 273 ip_ver_len = load_byte(skb, nh_off + 0 /* offsetof(struct iphdr, ihl) */); in flow_parse_ipv4() 282 static inline __u32 flow_addr_hash_ipv6(struct __sk_buff *skb, int off) in flow_addr_hash_ipv6() argument 284 __u32 w0 = load_word(skb, off); in flow_addr_hash_ipv6() [all …]
|
D | bpf_tailcall.c | 35 int cls_case1(struct __sk_buff *skb) in __section_tail() 42 trace_printk(fmt, sizeof(fmt), *val, skb->cb[0]); in __section_tail() 44 skb->cb[0] = ENTRY_0; in __section_tail() 45 tail_call(skb, &jmp_ex, ENTRY_0); in __section_tail() 51 int cls_case2(struct __sk_buff *skb) in __section_tail() 58 trace_printk(fmt, sizeof(fmt), *val, skb->cb[0]); in __section_tail() 60 skb->cb[0] = ENTRY_1; in __section_tail() 61 tail_call(skb, &jmp_tc, ENTRY_0); in __section_tail() 67 int cls_exit(struct __sk_buff *skb) in __section_tail() 74 trace_printk(fmt, sizeof(fmt), *val, skb->cb[0]); in __section_tail() [all …]
|
D | bpf_cyclic.c | 12 int cls_loop(struct __sk_buff *skb) in cls_loop() argument 16 trace_printk(fmt, sizeof(fmt), skb->cb[0]++); in cls_loop() 17 tail_call(skb, &jmp_tc, 0); in cls_loop() 19 skb->tc_classid = TC_H_MAKE(1, 42); in cls_loop() 24 int cls_entry(struct __sk_buff *skb) in cls_entry() argument 26 tail_call(skb, &jmp_tc, 0); in cls_entry()
|
D | bpf_graft.c | 39 int cls_aaa(struct __sk_buff *skb) in cls_aaa() argument 48 int cls_bbb(struct __sk_buff *skb) in cls_bbb() argument 57 int cls_entry(struct __sk_buff *skb) in cls_entry() argument 61 tail_call(skb, &jmp_tc, 0); in cls_entry()
|
D | bpf_shared.c | 24 int emain(struct __sk_buff *skb) in emain() argument 36 int imain(struct __sk_buff *skb) in imain() argument
|
/external/iputils/Modules/ |
D | pg3.c | 241 struct sk_buff *skb; in fill_packet() local 247 skb = alloc_skb(pkt_size+64+16, GFP_ATOMIC); in fill_packet() 248 if (!skb) { in fill_packet() 253 skb_reserve(skb, 16); in fill_packet() 256 eth = (__u8 *) skb_push(skb, 14); in fill_packet() 257 iph = (struct iphdr*)skb_put(skb, sizeof( struct iphdr)); in fill_packet() 258 udph = (struct udphdr*)skb_put(skb, sizeof( struct udphdr)); in fill_packet() 284 skb->protocol = __constant_htons(ETH_P_IP); in fill_packet() 285 skb->mac.raw = ((u8*)iph) - 14; in fill_packet() 286 skb->dev = odev; in fill_packet() [all …]
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
D | nfnetlink_compat.h | 46 #define NFA_NEST(skb, type) \ argument 47 ({ struct nfattr *__start = (struct nfattr *)skb_tail_pointer(skb); \ 48 NFA_PUT(skb, (NFNL_NFA_NEST | type), 0, NULL); \ 50 #define NFA_NEST_END(skb, start) \ argument 51 ({ (start)->nfa_len = skb_tail_pointer(skb) - (unsigned char *)(start); \ 52 (skb)->len; }) 53 #define NFA_NEST_CANCEL(skb, start) \ argument 55 skb_trim(skb, (unsigned char *) (start) - (skb)->data); \
|
/external/iproute2/include/ |
D | bpf_api.h | 172 static void BPF_FUNC(tail_call, struct __sk_buff *skb, void *map, 179 static uint32_t BPF_FUNC(get_cgroup_classid, struct __sk_buff *skb); 180 static uint32_t BPF_FUNC(get_route_realm, struct __sk_buff *skb); 184 static int BPF_FUNC(clone_redirect, struct __sk_buff *skb, int ifindex, 192 static int BPF_FUNC(skb_store_bytes, struct __sk_buff *skb, uint32_t off, 194 static int BPF_FUNC(l3_csum_replace, struct __sk_buff *skb, uint32_t off, 196 static int BPF_FUNC(l4_csum_replace, struct __sk_buff *skb, uint32_t off, 200 static int BPF_FUNC(skb_vlan_push, struct __sk_buff *skb, uint16_t proto, 202 static int BPF_FUNC(skb_vlan_pop, struct __sk_buff *skb); 205 static int BPF_FUNC(skb_get_tunnel_key, struct __sk_buff *skb, [all …]
|
/external/iptables/extensions/ |
D | libxt_CLASSIFY.man | 1 This module allows you to set the skb\->priority value (and thus classify the packet into a specifi…
|
D | libxt_u32.man | 56 Any access of memory outside [skb\->data,skb\->end] causes the match to fail.
|
/external/llvm/lib/Target/BPF/ |
D | BPFInstrInfo.td | 530 : InstBPF<(outs), (ins GPR:$skb, i64imm:$imm), 531 !strconcat(OpcodeStr, "\tr0, $skb.data + $imm"), 532 [(set R0, (OpNode GPR:$skb, i64immSExt32:$imm))]> { 547 : InstBPF<(outs), (ins GPR:$skb, GPR:$val), 548 !strconcat(OpcodeStr, "\tr0, $skb.data + $val"), 549 [(set R0, (OpNode GPR:$skb, GPR:$val))]> {
|
/external/llvm/test/CodeGen/BPF/ |
D | ex1.ll | 8 @bpf_prog1.fmt = private unnamed_addr constant [15 x i8] c"skb %x dev %x\0A\00", align 1
|
D | sockex2.ll | 9 define i32 @bpf_prog2(%struct.sk_buff* %skb) #0 section "socket2" { 12 %1 = bitcast %struct.sk_buff* %skb to i8*
|
/external/libvncserver/webclients/novnc/include/ |
D | ui.js | 786 var skb = $D('showKeyboard'); 793 skb.className = "noVNC_status_button_selected"; 796 skb.className = "noVNC_status_button";
|
/external/hyphenation-patterns/de/ |
D | hyph-de-1996.pat.txt | 16359 4skb
|
D | hyph-de-1901.pat.txt | 16582 4skb
|
D | hyph-de-ch-1901.pat.txt | 16425 4skb
|
/external/webrtc/talk/media/testdata/ |
D | faces.1280x720_P420.yuv | 3 …��������������������~zxywvy~������}xtrpnlhaZVVWW\`cdhpx~�������{ojt�������|skb`dfd^[[XWWZ^____^]]\…
|
/external/hyphenation-patterns/nb/ |
D | hyph-nb.pat.txt | 21241 4skb
|
/external/hyphenation-patterns/nn/ |
D | hyph-nn.pat.txt | 21241 4skb
|