Lines Matching refs:outdata

286 struct outdata {  struct
376 void udp_prep(struct outdata *);
378 void udplite_prep(struct outdata *);
380 void tcp_prep(struct outdata *);
382 void sctp_prep(struct outdata *);
384 void gre_prep(struct outdata *);
386 void gen_prep(struct outdata *);
388 void icmp_prep(struct outdata *);
398 void (*prepare)(struct outdata *);
1014 struct outdata outdata; in main() local
1019 outdata.seq = ++seq; in main()
1020 outdata.ttl = ttl; in main()
1024 memcpy(&outdata.tv, &t1, sizeof(outdata.tv)); in main()
1027 (*proto->prepare)(&outdata); in main()
1416 icmp_prep(struct outdata *outdata) in icmp_prep() argument
1422 icmpheader->icmp_seq = htons(outdata->seq); in icmp_prep()
1439 udp_prep(struct outdata *outdata) in udp_prep() argument
1443 outudp->uh_sport = htons(ident + (fixedPort ? outdata->seq : 0)); in udp_prep()
1444 outudp->uh_dport = htons(port + (fixedPort ? 0 : outdata->seq)); in udp_prep()
1465 udplite_prep(struct outdata *outdata) in udplite_prep() argument
1469 outudp->uh_sport = htons(ident + (fixedPort ? outdata->seq : 0)); in udplite_prep()
1470 outudp->uh_dport = htons(port + (fixedPort ? 0 : outdata->seq)); in udplite_prep()
1491 tcp_prep(struct outdata *outdata) in tcp_prep() argument
1496 tcp->th_dport = htons(port + (fixedPort ? 0 : outdata->seq)); in tcp_prep()
1518 sctp_prep(struct outdata *outdata) in sctp_prep() argument
1526 sctp->dest_port = htons(port + (fixedPort ? 0 : outdata->seq)); in sctp_prep()
1614 gre_prep(struct outdata *outdata) in gre_prep() argument
1621 gre->callId = htons(ident + outdata->seq); in gre_prep()
1634 gen_prep(struct outdata *outdata) in gen_prep() argument
1639 ptr[1] = htons(port + outdata->seq); in gen_prep()