View | Details | Raw Unified | Return to bug 203092
Collapse All | Expand All

(-)ip.d (-3 / +2 lines)
Lines 109-115 Link Here
109
 * These values are NULL if the packet is not IPv6.
109
 * These values are NULL if the packet is not IPv6.
110
 */
110
 */
111
typedef struct in6_addr in6_addr_t;
111
typedef struct in6_addr in6_addr_t;
112
typedef struct ip6_hdr ip6_t;
113
typedef struct ipv6info {
112
typedef struct ipv6info {
114
	uint8_t ipv6_ver;		/* IP version (6) */
113
	uint8_t ipv6_ver;		/* IP version (6) */
115
	uint8_t ipv6_tclass;		/* traffic class */
114
	uint8_t ipv6_tclass;		/* traffic class */
Lines 122-128 Link Here
122
	in6_addr_t *ipv6_dst;		/* destination address */
121
	in6_addr_t *ipv6_dst;		/* destination address */
123
	string ipv6_saddr;		/* source address, string */
122
	string ipv6_saddr;		/* source address, string */
124
	string ipv6_daddr;		/* destination address, string */
123
	string ipv6_daddr;		/* destination address, string */
125
	ip6_t *ipv6_hdr;		/* pointer to raw header */
124
	struct ip6_hdr *ipv6_hdr;	/* pointer to raw header */
126
} ipv6info_t;
125
} ipv6info_t;
127
126
128
#pragma D binding "1.0" IPPROTO_IP
127
#pragma D binding "1.0" IPPROTO_IP
Lines 281-285 Link Here
281
	ipv6_dst =	p == NULL ? 0 : (in6_addr_t *)&p->ip6_dst;
280
	ipv6_dst =	p == NULL ? 0 : (in6_addr_t *)&p->ip6_dst;
282
	ipv6_saddr =	p == NULL ? 0 : inet_ntoa6(&p->ip6_src);
281
	ipv6_saddr =	p == NULL ? 0 : inet_ntoa6(&p->ip6_src);
283
	ipv6_daddr =	p == NULL ? 0 : inet_ntoa6(&p->ip6_dst);
282
	ipv6_daddr =	p == NULL ? 0 : inet_ntoa6(&p->ip6_dst);
284
	ipv6_hdr =	(ip6_t *)p;
283
	ipv6_hdr =	(struct ip6_hdr *)p;
285
};
284
};

Return to bug 203092