diff options
author | markj <markj@FreeBSD.org> | 2015-09-22 00:45:16 +0000 |
---|---|---|
committer | markj <markj@FreeBSD.org> | 2015-09-22 00:45:16 +0000 |
commit | 91390cb1b5badba8b4bddc45cda85abfd9018b5f (patch) | |
tree | e2fb704930ba9956b1a93eb5ade4ec5053c3ec87 /cddl | |
parent | 198203431a0911024c97644b46a23e46215c26cd (diff) | |
download | FreeBSD-src-91390cb1b5badba8b4bddc45cda85abfd9018b5f.zip FreeBSD-src-91390cb1b5badba8b4bddc45cda85abfd9018b5f.tar.gz |
MFC r287807:
Remove an unneeded typedef of ip6_t from the DTrace ip provider library.
PR: 203092
Diffstat (limited to 'cddl')
-rw-r--r-- | cddl/lib/libdtrace/ip.d | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cddl/lib/libdtrace/ip.d b/cddl/lib/libdtrace/ip.d index b886a0a..f8fa9b1 100644 --- a/cddl/lib/libdtrace/ip.d +++ b/cddl/lib/libdtrace/ip.d @@ -109,7 +109,6 @@ typedef struct ipv4info { * These values are NULL if the packet is not IPv6. */ typedef struct in6_addr in6_addr_t; -typedef struct ip6_hdr ip6_t; typedef struct ipv6info { uint8_t ipv6_ver; /* IP version (6) */ uint8_t ipv6_tclass; /* traffic class */ @@ -122,7 +121,7 @@ typedef struct ipv6info { in6_addr_t *ipv6_dst; /* destination address */ string ipv6_saddr; /* source address, string */ string ipv6_daddr; /* destination address, string */ - ip6_t *ipv6_hdr; /* pointer to raw header */ + struct ip6_hdr *ipv6_hdr; /* pointer to raw header */ } ipv6info_t; #pragma D binding "1.0" IPPROTO_IP @@ -281,5 +280,5 @@ translator ipv6info_t < struct ip6_hdr *p > { ipv6_dst = p == NULL ? 0 : (in6_addr_t *)&p->ip6_dst; ipv6_saddr = p == NULL ? 0 : inet_ntoa6(&p->ip6_src); ipv6_daddr = p == NULL ? 0 : inet_ntoa6(&p->ip6_dst); - ipv6_hdr = (ip6_t *)p; + ipv6_hdr = p; }; |