Searched refs:dst (Results 1 – 11 of 11) sorted by relevance
/samples/bpf/ |
D | xdp_rxq_info_kern.c | 61 unsigned short dst[3]; in swap_src_dst_mac() local 63 dst[0] = p[0]; in swap_src_dst_mac() 64 dst[1] = p[1]; in swap_src_dst_mac() 65 dst[2] = p[2]; in swap_src_dst_mac() 69 p[3] = dst[0]; in swap_src_dst_mac() 70 p[4] = dst[1]; in swap_src_dst_mac() 71 p[5] = dst[2]; in swap_src_dst_mac()
|
D | xdp2_kern.c | 27 unsigned short dst[3]; in swap_src_dst_mac() local 29 dst[0] = p[0]; in swap_src_dst_mac() 30 dst[1] = p[1]; in swap_src_dst_mac() 31 dst[2] = p[2]; in swap_src_dst_mac() 35 p[3] = dst[0]; in swap_src_dst_mac() 36 p[4] = dst[1]; in swap_src_dst_mac() 37 p[5] = dst[2]; in swap_src_dst_mac()
|
D | xdp_sample.bpf.h | 45 unsigned short dst[3]; in swap_src_dst_mac() local 47 dst[0] = p[0]; in swap_src_dst_mac() 48 dst[1] = p[1]; in swap_src_dst_mac() 49 dst[2] = p[2]; in swap_src_dst_mac() 53 p[3] = dst[0]; in swap_src_dst_mac() 54 p[4] = dst[1]; in swap_src_dst_mac() 55 p[5] = dst[2]; in swap_src_dst_mac()
|
D | xdp_sample_user.h | 52 static inline char *safe_strncpy(char *dst, const char *src, size_t size) in safe_strncpy() argument 55 return dst; in safe_strncpy() 56 strncpy(dst, src, size - 1); in safe_strncpy() 57 dst[size - 1] = '\0'; in safe_strncpy() 58 return dst; in safe_strncpy()
|
D | xdp_router_ipv4_user.c | 134 __be32 dst, gw; in read_route() member 139 __be32 dst; in read_route() member 190 route.dst = atoi(dsts); in read_route() 219 direct_entry.arp.dst = 0; in read_route() 223 &route.dst) == 0); in read_route() 226 &route.dst, in read_route() 228 direct_entry.arp.dst = route.dst; in read_route() 230 &route.dst, in read_route() 235 prefix_key->data[i] = (route.dst >> i * 8) & 0xff; in read_route() 386 __be32 dst; in read_arp() member [all …]
|
D | sockex2_kern.c | 20 __be32 dst; member 74 flow->dst = load_word(skb, nhoff + offsetof(struct iphdr, daddr)); in parse_ip() 93 flow->dst = ipv6_addr_hash(skb, in parse_ipv6() 210 key = flow.dst; in bpf_prog2()
|
D | sockex3_user.c | 13 __be32 dst; member 94 inet_ntoa((struct in_addr){htonl(next_key.dst)}), in main()
|
D | xdp_router_ipv4_kern.c | 35 __be32 dst; member 85 static inline void set_src_dst_mac(void *data, void *src, void *dst) in set_src_dst_mac() argument 88 unsigned short *dest = dst; in set_src_dst_mac()
|
D | xdp_fwd_kern.c | 81 struct in6_addr *dst = (struct in6_addr *) fib_params.ipv6_dst; in xdp_fwd_flags() local 97 *dst = ip6h->daddr; in xdp_fwd_flags()
|
D | sockex3_kern.c | 69 __be32 dst; member 209 g->flow.dst = load_word(skb, nhoff + offsetof(struct iphdr, daddr)); in PROG() 234 g->flow.dst = ipv6_addr_hash(skb, in PROG()
|
/samples/rpmsg/ |
D | rpmsg_client_sample.c | 57 rpdev->src, rpdev->dst); in rpmsg_sample_probe()
|