Lines Matching defs:outp
183 struct packet *outp = get_tx_packet();
184 struct eth_hdr *myeth = (struct eth_hdr *)outp->payload;
185 struct etharp_hdr *myarp = (struct etharp_hdr *)(outp->payload + SIZEOF_ETH_HDR);
203 outp->len = p->len;
204 packet_output(outp);
229 struct packet *outp = get_tx_packet();
230 struct eth_hdr *myeth = (struct eth_hdr *)outp->payload;
231 struct ip_hdr *myip = (struct ip_hdr *)(outp->payload + SIZEOF_ETH_HDR);
232 struct udp_hdr *myudp = (struct udp_hdr *)(outp->payload + SIZEOF_ETH_HDR + (IPH_HL(iphdr) * 4));
233 uint8_t *mypayload = outp->payload + SIZEOF_ETH_HDR + (IPH_HL(iphdr) * 4) + sizeof(struct udp_hdr);
253 outp->len = p->len;
254 packet_output(outp);