Home
last modified time | relevance | path

Searched refs:iphdr (Results 1 – 16 of 16) sorted by relevance

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