Searched refs:iphdr (Results 1 - 17 of 17) sorted by relevance

/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dtftp.h36 struct iphdr ip;
61 struct iphdr ip;
76 #define TFTP_MIN_PACKET (sizeof(struct iphdr) + sizeof(struct udphdr) + 4)
H A Digmp.h22 struct iphdr ip;
H A Dip.h9 struct iphdr { struct
H A Dnfs.h38 struct iphdr ip;
H A Dnic.c279 unsigned short ptype, struct iphdr *ip __unused, struct udphdr *udp __unused)
299 struct iphdr *ip;
304 ip = (struct iphdr *)buf;
364 struct iphdr *ip;
365 ip = (struct iphdr *)buf;
377 ip->chksum = ipchksum(buf, sizeof(struct iphdr) + option_len);
380 static uint16_t udpchksum(struct iphdr *ip, struct udphdr *udp)
405 struct iphdr *ip;
407 ip = (struct iphdr *)buf;
409 udp = (struct udphdr *)((char *)buf + sizeof(struct iphdr));
[all...]
H A Dbootp.h167 struct iphdr ip;
173 struct iphdr ip;
H A Dgrub.h90 typedef int (*reply_t)(int ival, void *ptr, unsigned short ptype, struct iphdr *ip, struct udphdr *udp);
H A Dfsys_tftp.c66 unsigned short ptype __unused, struct iphdr *ip,
/illumos-gate/usr/src/boot/sys/boot/arm/at91/libat91/
H A Demac.h91 ip_header_t iphdr; member in struct:__anon118
/illumos-gate/usr/src/cmd/sgs/librtld/common/
H A Ddldump.c149 Phdr *iphdr, *ophdr, *data_phdr = 0; local
271 if ((iphdr = elf_getphdr(ielf)) == NULL) {
277 for (num = 0, ophdr = iphdr; num != iehdr->e_phnum; num++, ophdr++) {
556 for (num = 0; num != iehdr->e_phnum; num++, iphdr++, ophdr++) {
557 *ophdr = *iphdr;
560 if (data_phdr == iphdr) {
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge.c4824 struct ip *iphdr = NULL; local
4846 iphdr = (struct ip *)(void *)(bp+mac_hdr_len);
4855 if (iphdr != NULL) {
4857 ip_hdr_len = IPH_HDR_LENGTH(iphdr);
4875 iphdr->ip_sum = 0;
4880 if (iphdr->ip_p == IPPROTO_TCP) {
4883 ((uint8_t *)(void *)iphdr + ip_hdr_len);
4894 iphdr->ip_sum = 0;
4915 ql_pseudo_cksum((uint8_t *)iphdr);
4917 } else if (iphdr
5080 struct ip *iphdr = NULL; local
5174 struct ip *iphdr = NULL; local
[all...]
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_input.c2314 uchar_t *iphdr; local
2344 iphdr = mp->b_rptr;
2372 iphdr = mp->b_rptr;
2395 __dtrace_tcp_void_ip_t *, iphdr, tcp_t *, tcp,
2445 iphdr = rptr = mp->b_rptr;
2505 void_ip_t *, iphdr, tcp_t *, tcp,
2573 if (!tcp_conn_con(tcp, iphdr, mp,
2627 void_ip_t *, iphdr, tcp_t *, tcp, tcph_t *, tcpha);
3455 mp->b_rptr = iphdr;
3671 if (!tcp_conn_con(tcp, iphdr, m
[all...]
H A Dtcp_fusion.c82 tcp_fuse(tcp_t *tcp, uchar_t *iphdr, tcpha_t *tcpha) argument
113 (ipha_t *)iphdr, tcpha, ipst);
116 (ip6_t *)iphdr, tcpha, ipst);
H A Dtcp_tpi.c409 tcp_conn_con(tcp_t *tcp, uchar_t *iphdr, mblk_t *idmp, argument
441 if (IPH_HDR_VERSION(iphdr) == IPV4_VERSION) {
461 ip6_t *ip6h = (ip6_t *)iphdr;
463 ASSERT(IPH_HDR_VERSION(iphdr) == IPV6_VERSION);
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dspppcomp.c1517 uchar_t *iphdr; local
1535 &cp->cp_vj, &iphdr, &iphlen);
1572 bcopy((caddr_t)iphdr, (caddr_t)dp + PPP_HDRLEN, iphlen);
/illumos-gate/usr/src/cmd/mdb/common/modules/ip/
H A Dip.c202 static int iphdr(uintptr_t, uint_t, int, const mdb_arg_t *);
1324 iphdr(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) function
1411 return (iphdr(addr, flags, argc, argv));
1905 { "iphdr", ":[-vf]", "display an IPv4 header", iphdr },
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcip.c2830 ipha_t *iphdr; local
2888 iphdr = (ipha_t *)(buf->ub_buffer + hdrlen);
2902 len = hdrlen + BE_16(iphdr->ipha_length);

Completed in 206 milliseconds