Lines Matching refs:struct
8 -ip6_forward(struct pbuf *p, struct ip6_hdr *iphdr, struct netif *inp)
9 +ip6_forward(struct pbuf *p, struct ip6hdr *iphdr, struct netif *inp)
11 struct netif *netif;
15 ip6_input(struct pbuf *p, struct netif *inp)
17 - struct ip6_hdr *ip6hdr;
18 + struct ip6hdr *ip6hdr;
19 struct netif *netif;
26 - ip6hdr = (struct ip6_hdr *)p->payload;
27 + ip6hdr = (struct ip6hdr *)p->payload;
35 - ip6hdr = (struct ip6_hdr *)p->payload;
36 + ip6hdr = (struct ip6hdr *)p->payload;
42 u8_t nexth, struct netif *netif)
44 - struct ip6_hdr *ip6hdr;
45 + struct ip6hdr *ip6hdr;
53 - ip6hdr = (struct ip6_hdr *)p->payload;
54 - LWIP_ASSERT("check that first pbuf can hold struct ip6_hdr",
55 - (p->len >= sizeof(struct ip6_hdr)));
56 + ip6hdr = (struct ip6hdr *)p->payload;
57 + LWIP_ASSERT("check that first pbuf can hold struct ip6hdr",
58 + (p->len >= sizeof(struct ip6hdr)));
66 - ip6hdr = (struct ip6_hdr *)p->payload;
67 + ip6hdr = (struct ip6hdr *)p->payload;
74 struct netif *netif;
75 - struct ip6_hdr *ip6hdr;
76 + struct ip6hdr *ip6hdr;
84 - ip6hdr = (struct ip6_hdr *)p->payload;
85 + ip6hdr = (struct ip6hdr *)p->payload;
90 u8_t hl, u8_t tc, u8_t nexth, struct netif_hint *netif_hint)
92 struct netif *netif;
93 - struct ip6_hdr *ip6hdr;
94 + struct ip6hdr *ip6hdr;
102 - ip6hdr = (struct ip6_hdr *)p->payload;
103 + ip6hdr = (struct ip6hdr *)p->payload;
109 ip6_debug_print(struct pbuf *p)
111 - struct ip6_hdr *ip6hdr = (struct ip6_hdr *)p->payload;
112 + struct ip6hdr *ip6hdr = (struct ip6hdr *)p->payload;
123 - struct ip6_hdr* iphdr_ptr;
124 + struct ip6hdr* iphdr_ptr;
127 iprh = (struct ip6_reass_helper*) ipr->p->payload;
132 - /* hide the extra bytes borrowed from ip6_hdr for struct ip6_reass_helper */
133 + /* hide the extra bytes borrowed from ip6hdr for struct ip6_reass_helper */
136 LWIP_ASSERT("no room for struct ip6_reass_helper", hdrerr == 0);
141 - iphdr_ptr = (struct ip6_hdr*)((u8_t*)ipr->iphdr +
142 + iphdr_ptr = (struct ip6hdr*)((u8_t*)ipr->iphdr +
143 sizeof(struct ip6_frag_hdr));
148 ip6_frag(struct pbuf *p, struct netif *netif, const ip6_addr_t *dest)
150 - struct ip6_hdr *original_ip6hdr;
151 - struct ip6_hdr *ip6hdr;
152 + struct ip6hdr *original_ip6hdr;
153 + struct ip6hdr *ip6hdr;
154 struct ip6_frag_hdr *frag_hdr;
155 struct pbuf *rambuf;
161 - original_ip6hdr = (struct ip6_hdr *)p->payload;
162 + original_ip6hdr = (struct ip6hdr *)p->payload;
170 - ip6hdr = (struct ip6_hdr *)rambuf->payload;
171 + ip6hdr = (struct ip6hdr *)rambuf->payload;
172 frag_hdr = (struct ip6_frag_hdr *)((u8_t*)rambuf->payload + IP6_HLEN);
179 - ip6hdr = (struct ip6_hdr *)rambuf->payload;
180 + ip6hdr = (struct ip6hdr *)rambuf->payload;
181 frag_hdr = (struct ip6_frag_hdr *)((u8_t*)rambuf->payload + IP6_HLEN);
190 struct icmp6_hdr *icmp6hdr; /* Packet too big message */
191 - struct ip6_hdr *ip6hdr; /* IPv6 header of the packet which caused the error */
192 + struct ip6hdr *ip6hdr; /* IPv6 header of the packet which caused the error */
199 icmp6hdr = (struct icmp6_hdr *)p->payload;
200 - ip6hdr = (struct ip6_hdr *)((u8_t*)p->payload + sizeof(struct icmp6_hdr));
201 + ip6hdr = (struct ip6hdr *)((u8_t*)p->payload + sizeof(struct icmp6_hdr));
209 - struct ip6_hdr *ip6hdr;
210 + struct ip6hdr *ip6hdr;
213 struct nd6_q_entry *q;
218 - ip6hdr = (struct ip6_hdr *)(q->p->payload);
219 + ip6hdr = (struct ip6hdr *)(q->p->payload);
227 - ip6hdr = (struct ip6_hdr *)(neighbor_cache[i].q->payload);
228 + ip6hdr = (struct ip6hdr *)(neighbor_cache[i].q->payload);
239 - struct ip6_hdr *ip6hdr = (struct ip6_hdr *)p->payload;
240 + struct ip6hdr *ip6hdr = (struct ip6hdr *)p->payload;
248 struct ip6_reassdata {
249 struct ip6_reassdata *next;
250 struct pbuf *p;
251 - struct ip6_hdr *iphdr; /* pointer to the first (original) IPv6 header */
252 + struct ip6hdr *iphdr; /* pointer to the first (original) IPv6 header */
263 - struct ip6_hdr *current_ip6_header;
264 + struct ip6hdr *current_ip6_header;
272 -#define ip6_current_header() ((const struct ip6_hdr*)(ip_data.current_ip6_header))
273 +#define ip6_current_header() ((const struct ip6hdr*)(ip_data.current_ip6_header))
281 -#define ip6_current_header() ((const struct ip6_hdr*)(ip_data.current_ip6_header))
282 +#define ip6_current_header() ((const struct ip6hdr*)(ip_data.current_ip6_header))
293 -struct ip6_hdr {
294 +struct ip6hdr {
302 struct lowpan6_link_addr src, dest;
305 - struct ip6_hdr *ip6_hdr;
306 + struct ip6hdr *ip6_hdr;
311 - ip6_hdr = (struct ip6_hdr *)q->payload;
312 + ip6_hdr = (struct ip6hdr *)q->payload;
323 - struct ip6_hdr *ip6hdr;
324 + struct ip6hdr *ip6hdr;
332 - ip6hdr = (struct ip6_hdr *)inptr;
333 + ip6hdr = (struct ip6hdr *)inptr;
338 struct lowpan6_link_addr *src, struct lowpan6_link_addr *dest)
341 - struct ip6_hdr *ip6hdr;
342 + struct ip6hdr *ip6hdr;
350 - ip6hdr = (struct ip6_hdr *)decomp_buffer;
351 + ip6hdr = (struct ip6hdr *)decomp_buffer;