Symbol: iphdr
usr/src/cmd/mdb/common/modules/ip/ip.c
1435
return (iphdr(addr, flags, argc, argv));
usr/src/cmd/mdb/common/modules/ip/ip.c
1930
{ "iphdr", ":[-vf]", "display an IPv4 header", iphdr },
usr/src/cmd/mdb/common/modules/ip/ip.c
204
static int iphdr(uintptr_t, uint_t, int, const mdb_arg_t *);
usr/src/cmd/sgs/elfdump/common/elfdump.c
1843
Phdr *iphdr = NULL;
usr/src/cmd/sgs/elfdump/common/elfdump.c
1850
iphdr = getphdr(phnum, phdr_types,
usr/src/cmd/sgs/elfdump/common/elfdump.c
1855
if (iphdr == NULL)
usr/src/cmd/sgs/elfdump/common/elfdump.c
1870
(iphdr->p_offset < shdr->sh_offset) ||
usr/src/cmd/sgs/elfdump/common/elfdump.c
1871
(iphdr->p_offset + iphdr->p_filesz) >
usr/src/cmd/sgs/elfdump/common/elfdump.c
1893
(iphdr->p_offset - ishdr->sh_offset));
usr/src/cmd/sgs/elfdump/common/elfdump.c
1903
check_phdr_v_shdr(iphdr, phndx, ELFOSABI_SOLARIS,
usr/src/cmd/sgs/librtld/common/dldump.c
149
Phdr *iphdr, *ophdr, *data_phdr = 0;
usr/src/cmd/sgs/librtld/common/dldump.c
271
if ((iphdr = elf_getphdr(ielf)) == NULL) {
usr/src/cmd/sgs/librtld/common/dldump.c
277
for (num = 0, ophdr = iphdr; num != iehdr->e_phnum; num++, ophdr++) {
usr/src/cmd/sgs/librtld/common/dldump.c
556
for (num = 0; num != iehdr->e_phnum; num++, iphdr++, ophdr++) {
usr/src/cmd/sgs/librtld/common/dldump.c
557
*ophdr = *iphdr;
usr/src/cmd/sgs/librtld/common/dldump.c
560
if (data_phdr == iphdr) {
usr/src/grub/grub-0.97/netboot/bootp.h
167
struct iphdr ip;
usr/src/grub/grub-0.97/netboot/bootp.h
173
struct iphdr ip;
usr/src/grub/grub-0.97/netboot/fsys_tftp.c
66
unsigned short ptype __unused, struct iphdr *ip,
usr/src/grub/grub-0.97/netboot/grub.h
90
typedef int (*reply_t)(int ival, void *ptr, unsigned short ptype, struct iphdr *ip, struct udphdr *udp);
usr/src/grub/grub-0.97/netboot/igmp.h
22
struct iphdr ip;
usr/src/grub/grub-0.97/netboot/nfs.h
38
struct iphdr ip;
usr/src/grub/grub-0.97/netboot/nic.c
279
unsigned short ptype, struct iphdr *ip __unused, struct udphdr *udp __unused)
usr/src/grub/grub-0.97/netboot/nic.c
299
struct iphdr *ip;
usr/src/grub/grub-0.97/netboot/nic.c
304
ip = (struct iphdr *)buf;
usr/src/grub/grub-0.97/netboot/nic.c
364
struct iphdr *ip;
usr/src/grub/grub-0.97/netboot/nic.c
365
ip = (struct iphdr *)buf;
usr/src/grub/grub-0.97/netboot/nic.c
377
ip->chksum = ipchksum(buf, sizeof(struct iphdr) + option_len);
usr/src/grub/grub-0.97/netboot/nic.c
380
static uint16_t udpchksum(struct iphdr *ip, struct udphdr *udp)
usr/src/grub/grub-0.97/netboot/nic.c
405
struct iphdr *ip;
usr/src/grub/grub-0.97/netboot/nic.c
407
ip = (struct iphdr *)buf;
usr/src/grub/grub-0.97/netboot/nic.c
409
udp = (struct udphdr *)((char *)buf + sizeof(struct iphdr));
usr/src/grub/grub-0.97/netboot/nic.c
412
udp->len = htons(len - sizeof(struct iphdr));
usr/src/grub/grub-0.97/netboot/nic.c
434
struct iphdr *ip __unused, struct udphdr *udp __unused)
usr/src/grub/grub-0.97/netboot/nic.c
456
struct iphdr *ip, struct udphdr *udp)
usr/src/grub/grub-0.97/netboot/nic.c
525
unsigned short ptype __unused, struct iphdr *ip __unused,
usr/src/grub/grub-0.97/netboot/nic.c
535
&nic.packet[ETH_HLEN + sizeof(struct iphdr) + sizeof(struct udphdr)];
usr/src/grub/grub-0.97/netboot/nic.c
536
len = nic.packetlen - (ETH_HLEN + sizeof(struct iphdr) +
usr/src/grub/grub-0.97/netboot/nic.c
622
unsigned short ptype __unused, struct iphdr *ip __unused,
usr/src/grub/grub-0.97/netboot/nic.c
632
&nic.packet[ETH_HLEN + sizeof(struct iphdr) + sizeof(struct udphdr)];
usr/src/grub/grub-0.97/netboot/nic.c
633
len = nic.packetlen - (ETH_HLEN + sizeof(struct iphdr) +
usr/src/grub/grub-0.97/netboot/nic.c
775
static void process_igmp(struct iphdr *ip, unsigned long now)
usr/src/grub/grub-0.97/netboot/nic.c
781
(nic.packetlen < sizeof(struct iphdr) + sizeof(struct igmp))) {
usr/src/grub/grub-0.97/netboot/nic.c
785
igmp = (struct igmp *)&nic.packet[sizeof(struct iphdr)];
usr/src/grub/grub-0.97/netboot/nic.c
884
struct iphdr *ip;
usr/src/grub/grub-0.97/netboot/nic.c
925
if ((ptype == IP) && (nic.packetlen >= ETH_HLEN + sizeof(struct iphdr))) {
usr/src/grub/grub-0.97/netboot/nic.c
927
ip = (struct iphdr *)&nic.packet[ETH_HLEN];
usr/src/grub/grub-0.97/netboot/nic.c
944
ipoptlen = iplen - sizeof(struct iphdr);
usr/src/grub/grub-0.97/netboot/nic.c
949
memmove(&nic.packet[ETH_HLEN + sizeof(struct iphdr)],
usr/src/grub/grub-0.97/netboot/nic.c
957
(nic.packetlen >= ETH_HLEN + sizeof(struct iphdr) + sizeof(struct udphdr))) {
usr/src/grub/grub-0.97/netboot/nic.c
958
udp = (struct udphdr *)&nic.packet[ETH_HLEN + sizeof(struct iphdr)];
usr/src/grub/grub-0.97/netboot/tftp.h
36
struct iphdr ip;
usr/src/grub/grub-0.97/netboot/tftp.h
61
struct iphdr ip;
usr/src/grub/grub-0.97/netboot/tftp.h
76
#define TFTP_MIN_PACKET (sizeof(struct iphdr) + sizeof(struct udphdr) + 4)
usr/src/uts/common/inet/tcp/tcp_fusion.c
115
(ipha_t *)iphdr, tcpha, ipst);
usr/src/uts/common/inet/tcp/tcp_fusion.c
118
(ip6_t *)iphdr, tcpha, ipst);
usr/src/uts/common/inet/tcp/tcp_fusion.c
84
tcp_fuse(tcp_t *tcp, uchar_t *iphdr, tcpha_t *tcpha)
usr/src/uts/common/inet/tcp/tcp_input.c
2494
uchar_t *iphdr;
usr/src/uts/common/inet/tcp/tcp_input.c
2523
iphdr = mp->b_rptr;
usr/src/uts/common/inet/tcp/tcp_input.c
2551
iphdr = mp->b_rptr;
usr/src/uts/common/inet/tcp/tcp_input.c
2574
__dtrace_tcp_void_ip_t *, iphdr, tcp_t *, tcp,
usr/src/uts/common/inet/tcp/tcp_input.c
2624
iphdr = rptr = mp->b_rptr;
usr/src/uts/common/inet/tcp/tcp_input.c
2684
void_ip_t *, iphdr, tcp_t *, tcp,
usr/src/uts/common/inet/tcp/tcp_input.c
2756
if (!tcp_conn_con(tcp, iphdr, mp,
usr/src/uts/common/inet/tcp/tcp_input.c
2813
void_ip_t *, iphdr, tcp_t *, tcp, tcph_t *, tcpha);
usr/src/uts/common/inet/tcp/tcp_input.c
3669
mp->b_rptr = iphdr;
usr/src/uts/common/inet/tcp/tcp_input.c
3885
if (!tcp_conn_con(tcp, iphdr, mp, NULL, ira)) {
usr/src/uts/common/inet/tcp/tcp_input.c
3904
iphdr, tcp_t *, tcp, tcph_t *, tcpha);
usr/src/uts/common/inet/tcp/tcp_input.c
3949
iphdr, tcp_t *, tcp, tcph_t *, tcpha);
usr/src/uts/common/inet/tcp/tcp_input.c
4009
iphdr, tcp_t *, tcp, tcph_t *, tcpha);
usr/src/uts/common/inet/tcp/tcp_input.c
4060
tcp_fuse(tcp, iphdr, tcpha);
usr/src/uts/common/inet/tcp/tcp_tpi.c
415
tcp_conn_con(tcp_t *tcp, uchar_t *iphdr, mblk_t *idmp,
usr/src/uts/common/inet/tcp/tcp_tpi.c
447
if (IPH_HDR_VERSION(iphdr) == IPV4_VERSION) {
usr/src/uts/common/inet/tcp/tcp_tpi.c
467
ip6_t *ip6h = (ip6_t *)iphdr;
usr/src/uts/common/inet/tcp/tcp_tpi.c
469
ASSERT(IPH_HDR_VERSION(iphdr) == IPV6_VERSION);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
4828
struct ip *iphdr = NULL;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
4850
iphdr = (struct ip *)(void *)(bp+mac_hdr_len);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
4859
if (iphdr != NULL) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
4861
ip_hdr_len = IPH_HDR_LENGTH(iphdr);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
4879
iphdr->ip_sum = 0;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
4884
if (iphdr->ip_p == IPPROTO_TCP) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
4887
((uint8_t *)(void *)iphdr + ip_hdr_len);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
4898
iphdr->ip_sum = 0;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
4919
ql_pseudo_cksum((uint8_t *)iphdr);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
4921
} else if (iphdr->ip_p == IPPROTO_UDP) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
4932
iphdr->ip_sum = 0;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
4953
ql_pseudo_cksum((uint8_t *)iphdr);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
5081
struct ip *iphdr = NULL;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
5115
iphdr = (struct ip *)(void *)(bp+mac_hdr_len);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
5117
if (((unsigned long)iphdr) & 0x3) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
5123
if (iphdr) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
5125
ip_hdr_len = IPH_HDR_LENGTH(iphdr);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
5126
ip_src_addr = iphdr->ip_src.s_addr;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
5127
ip_desc_addr = iphdr->ip_dst.s_addr;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
5129
if (iphdr->ip_p == IPPROTO_TCP) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
5131
((uint8_t *)iphdr + ip_hdr_len);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
5134
} else if (iphdr->ip_p == IPPROTO_UDP) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
5136
((uint8_t *)iphdr + ip_hdr_len);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
5175
struct ip *iphdr = NULL;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
5199
iphdr = (struct ip *)(void *)(bp+mac_hdr_len);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
5208
if (iphdr != NULL) { /* ipV4 packets */
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
5209
ip_hdr_len = (uint16_t)IPH_HDR_LENGTH(iphdr);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
5221
if (iphdr->ip_p == IPPROTO_TCP) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
5223
((uint8_t *)(void *)iphdr +
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
5233
iphdr->ip_sum = 0;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
5257
ql_lso_pseudo_cksum((uint8_t *)iphdr);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
5258
} else if (iphdr->ip_p == IPPROTO_UDP) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
5260
((uint8_t *)(void *)iphdr
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
5270
iphdr->ip_sum = 0;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
5294
ql_lso_pseudo_cksum((uint8_t *)iphdr);
usr/src/uts/common/io/fibre-channel/ulp/fcip.c
2760
ipha_t *iphdr;
usr/src/uts/common/io/fibre-channel/ulp/fcip.c
2815
iphdr = (ipha_t *)(buf->ub_buffer + hdrlen);
usr/src/uts/common/io/fibre-channel/ulp/fcip.c
2829
len = hdrlen + BE_16(iphdr->ipha_length);
usr/src/uts/common/io/ppp/spppcomp/spppcomp.c
1522
uchar_t *iphdr;
usr/src/uts/common/io/ppp/spppcomp/spppcomp.c
1540
&cp->cp_vj, &iphdr, &iphlen);
usr/src/uts/common/io/ppp/spppcomp/spppcomp.c
1577
bcopy((caddr_t)iphdr, (caddr_t)dp + PPP_HDRLEN, iphlen);
usr/src/uts/common/io/qede/qede_fp.c
1728
struct ip *iphdr = NULL;
usr/src/uts/common/io/qede/qede_fp.c
1762
iphdr = (struct ip *)(void *)(bp+mac_hdr_len);
usr/src/uts/common/io/qede/qede_fp.c
1764
if (((unsigned long)iphdr) & 0x3) {
usr/src/uts/common/io/qede/qede_fp.c
1770
if (iphdr) {
usr/src/uts/common/io/qede/qede_fp.c
1772
ip_hdr_len = IPH_HDR_LENGTH(iphdr);
usr/src/uts/common/io/qede/qede_fp.c
1773
ip_src_addr = iphdr->ip_src.s_addr;
usr/src/uts/common/io/qede/qede_fp.c
1774
ip_desc_addr = iphdr->ip_dst.s_addr;
usr/src/uts/common/io/qede/qede_fp.c
1776
if (iphdr->ip_p == IPPROTO_TCP) {
usr/src/uts/common/io/qede/qede_fp.c
1778
((uint8_t *)iphdr + ip_hdr_len);
usr/src/uts/common/io/qede/qede_fp.c
1781
} else if (iphdr->ip_p == IPPROTO_UDP) {
usr/src/uts/common/io/qede/qede_fp.c
1783
((uint8_t *)iphdr + ip_hdr_len);