Home
last modified time | relevance | path

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

/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dnic.c299 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()
405 struct iphdr *ip; in build_udp_hdr()
407 ip = (struct iphdr *)buf; in build_udp_hdr()
412 udp->len = htons(len - sizeof(struct iphdr)); in build_udp_hdr()
456 struct iphdr *ip, struct udphdr *udp) in await_rarp()
884 struct iphdr *ip; in await_reply()
927 ip = (struct iphdr *)&nic.packet[ETH_HLEN]; in await_reply()
[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()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/io/qede/
H A Dqede_fp.c1737 struct ip *iphdr = NULL; in qede_hash_get_txq() local
1771 iphdr = (struct ip *)(void *)(bp+mac_hdr_len); in qede_hash_get_txq()
1773 if (((unsigned long)iphdr) & 0x3) { in qede_hash_get_txq()
1779 if (iphdr) { in qede_hash_get_txq()
1781 ip_hdr_len = IPH_HDR_LENGTH(iphdr); in qede_hash_get_txq()
1782 ip_src_addr = iphdr->ip_src.s_addr; in qede_hash_get_txq()
1783 ip_desc_addr = iphdr->ip_dst.s_addr; in qede_hash_get_txq()
1785 if (iphdr->ip_p == IPPROTO_TCP) { in qede_hash_get_txq()
1787 ((uint8_t *)iphdr + ip_hdr_len); in qede_hash_get_txq()
1790 } else if (iphdr->ip_p == IPPROTO_UDP) { in qede_hash_get_txq()
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge.c4828 struct ip *iphdr = NULL; in ql_hw_csum_setup() local
4859 if (iphdr != NULL) { in ql_hw_csum_setup()
4879 iphdr->ip_sum = 0; in ql_hw_csum_setup()
4898 iphdr->ip_sum = 0; in ql_hw_csum_setup()
4932 iphdr->ip_sum = 0; in ql_hw_csum_setup()
5081 struct ip *iphdr = NULL; in ql_tx_hashing() local
5123 if (iphdr) { in ql_tx_hashing()
5175 struct ip *iphdr = NULL; in ql_hw_lso_setup() local
5233 iphdr->ip_sum = 0; in ql_hw_lso_setup()
5260 ((uint8_t *)(void *)iphdr in ql_hw_lso_setup()
[all …]
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_fusion.c83 tcp_fuse(tcp_t *tcp, uchar_t *iphdr, tcpha_t *tcpha) in tcp_fuse() argument
114 (ipha_t *)iphdr, tcpha, ipst); in tcp_fuse()
117 (ip6_t *)iphdr, tcpha, ipst); in tcp_fuse()
H A Dtcp_input.c2446 uchar_t *iphdr; in tcp_input_data() local
2475 iphdr = mp->b_rptr; in tcp_input_data()
2503 iphdr = mp->b_rptr; in tcp_input_data()
2576 iphdr = rptr = mp->b_rptr; in tcp_input_data()
2636 void_ip_t *, iphdr, tcp_t *, tcp, in tcp_input_data()
2704 if (!tcp_conn_con(tcp, iphdr, mp, in tcp_input_data()
3601 mp->b_rptr = iphdr; in tcp_input_data()
3836 iphdr, tcp_t *, tcp, tcph_t *, tcpha); in tcp_input_data()
3881 iphdr, tcp_t *, tcp, tcph_t *, tcpha); in tcp_input_data()
3941 iphdr, tcp_t *, tcp, tcph_t *, tcpha); in tcp_input_data()
[all …]
H A Dtcp_tpi.c415 tcp_conn_con(tcp_t *tcp, uchar_t *iphdr, mblk_t *idmp, in tcp_conn_con() argument
447 if (IPH_HDR_VERSION(iphdr) == IPV4_VERSION) { in tcp_conn_con()
467 ip6_t *ip6h = (ip6_t *)iphdr; in tcp_conn_con()
469 ASSERT(IPH_HDR_VERSION(iphdr) == IPV6_VERSION); in tcp_conn_con()
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dspppcomp.c1522 uchar_t *iphdr; in spppcomp_inpkt() local
1540 &cp->cp_vj, &iphdr, &iphlen); in spppcomp_inpkt()
1577 bcopy((caddr_t)iphdr, (caddr_t)dp + PPP_HDRLEN, iphlen); in spppcomp_inpkt()
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Delfdump.c1843 Phdr *iphdr = NULL; in interp() local
1850 iphdr = getphdr(phnum, phdr_types, in interp()
1855 if (iphdr == NULL) in interp()
1870 (iphdr->p_offset < shdr->sh_offset) || in interp()
1871 (iphdr->p_offset + iphdr->p_filesz) > in interp()
1893 (iphdr->p_offset - ishdr->sh_offset)); in interp()
1903 check_phdr_v_shdr(iphdr, phndx, ELFOSABI_SOLARIS, in interp()
/illumos-gate/usr/src/cmd/mdb/common/modules/ip/
H A Dip.c203 static int iphdr(uintptr_t, uint_t, int, const mdb_arg_t *);
1325 iphdr(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) in iphdr() function
1412 return (iphdr(addr, flags, argc, argv)); in ip6hdr()
1906 { "iphdr", ":[-vf]", "display an IPv4 header", iphdr },
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcip.c2760 ipha_t *iphdr; in fcip_data_cb() local
2815 iphdr = (ipha_t *)(buf->ub_buffer + hdrlen); in fcip_data_cb()
2829 len = hdrlen + BE_16(iphdr->ipha_length); in fcip_data_cb()