Searched refs:ip6 (Results 1 - 6 of 6) sorted by relevance

/u-boot/include/
H A Dndisc.h83 * @ip6: pointer to IPv6 header
87 int ndisc_receive(struct ethernet_hdr *et, struct ip6_hdr *ip6, int len);
100 bool validate_ra(struct ip6_hdr *ip6);
101 int process_ra(struct ip6_hdr *ip6, int len);
108 ndisc_receive(struct ethernet_hdr *et, struct ip6_hdr *ip6, int len) argument
126 static inline bool validate_ra(struct ip6_hdr *ip6) argument
131 static inline int process_ra(struct ip6_hdr *ip6, int len) argument
H A Dnet6.h352 * @ip6: pointer to the beginning of IPv6 protocol
356 int net_ip6_handler(struct ethernet_hdr *et, struct ip6_hdr *ip6, int len);
437 net_ip6_handler(struct ethernet_hdr *et, struct ip6_hdr *ip6, argument
456 * @ip6: pointer to IPv6 protocol
460 int ping6_receive(struct ethernet_hdr *et, struct ip6_hdr *ip6, int len);
467 int ping6_receive(struct ethernet_hdr *et, struct ip6_hdr *ip6, int len) argument
/u-boot/net/
H A Dndisc.c87 * @ip6: pointer to IPv6 header
91 static int ndisc_has_option(struct ip6_hdr *ip6, __u8 type) argument
93 struct nd_msg *ndisc = (struct nd_msg *)(((uchar *)ip6) + IP6_HDR_SIZE);
95 if (ip6->payload_len <= sizeof(struct icmp6hdr))
322 * @ip6: Pointer to the router advertisement packet
330 bool validate_ra(struct ip6_hdr *ip6) argument
332 struct icmp6hdr *icmp = (struct icmp6hdr *)(ip6 + 1);
335 if (ip6->payload_len < 16)
339 if ((ntohs(ip6->saddr.s6_addr16[0]) & IPV6_LINK_LOCAL_MASK) !=
347 if (ip6
372 process_ra(struct ip6_hdr *ip6, int len) argument
433 ndisc_receive(struct ethernet_hdr *et, struct ip6_hdr *ip6, int len) argument
[all...]
H A Dnet6.c311 struct ip6_hdr *ip6 = (struct ip6_hdr *)xip; local
313 ip6->version = 6;
314 ip6->priority = 0;
315 ip6->flow_lbl[0] = 0;
316 ip6->flow_lbl[1] = 0;
317 ip6->flow_lbl[2] = 0;
318 ip6->payload_len = htons(payload_len);
319 ip6->nexthdr = nextheader;
320 ip6->hop_limit = hoplimit;
321 net_copy_ip6(&ip6
380 net_ip6_handler(struct ethernet_hdr *et, struct ip6_hdr *ip6, int len) argument
[all...]
H A Dping6.c95 int ping6_receive(struct ethernet_hdr *et, struct ip6_hdr *ip6, int len) argument
98 (struct icmp6hdr *)(((uchar *)ip6) + IP6_HDR_SIZE);
103 src_ip = ip6->saddr;
110 debug("Got ICMPv6 ECHO REQUEST from %pI6c\n", &ip6->saddr);
/u-boot/test/dm/
H A Deth.c36 struct in6_addr ip6 = {0}; local
61 strlen(test_suite[i].string_addr), &ip6));
62 ut_asserteq_mem(&ip6, &test_suite[i].ip6_addr,
68 ut_assertok(!string_to_ip6(str, strlen(str), &ip6));
70 ut_assertok(!string_to_ip6(str, strlen(str), &ip6));
72 ut_assertok(!string_to_ip6(str, strlen(str), &ip6));
74 ut_assertok(!string_to_ip6(str, strlen(str), &ip6));
635 struct ip6_hdr *ip6 = (struct ip6_hdr *)ip6_ra_buf; local
636 struct icmp6hdr *icmp = (struct icmp6hdr *)(ip6 + 1);
639 ut_assert(validate_ra(ip6)
669 struct ip6_hdr *ip6 = (struct ip6_hdr *)ip6_ra_buf; local
[all...]

Completed in 112 milliseconds