Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/ip_var.h
Show First 20 Lines • Show All 90 Lines • ▼ Show 20 Lines | struct ip_moptions { | ||||
struct in_addr imo_multicast_addr; /* ifindex/addr on MULTICAST_IF */ | struct in_addr imo_multicast_addr; /* ifindex/addr on MULTICAST_IF */ | ||||
u_long imo_multicast_vif; /* vif num outgoing multicasts */ | u_long imo_multicast_vif; /* vif num outgoing multicasts */ | ||||
u_char imo_multicast_ttl; /* TTL for outgoing multicasts */ | u_char imo_multicast_ttl; /* TTL for outgoing multicasts */ | ||||
u_char imo_multicast_loop; /* 1 => hear sends if a member */ | u_char imo_multicast_loop; /* 1 => hear sends if a member */ | ||||
u_short imo_num_memberships; /* no. memberships this socket */ | u_short imo_num_memberships; /* no. memberships this socket */ | ||||
u_short imo_max_memberships; /* max memberships this socket */ | u_short imo_max_memberships; /* max memberships this socket */ | ||||
struct in_multi **imo_membership; /* group memberships */ | struct in_multi **imo_membership; /* group memberships */ | ||||
struct in_mfilter *imo_mfilters; /* source filters */ | struct in_mfilter *imo_mfilters; /* source filters */ | ||||
struct epoch_context imo_epoch_ctx; | epoch_context_t imo_epoch_ctx; | ||||
}; | }; | ||||
struct ipstat { | struct ipstat { | ||||
uint64_t ips_total; /* total packets received */ | uint64_t ips_total; /* total packets received */ | ||||
uint64_t ips_badsum; /* checksum bad */ | uint64_t ips_badsum; /* checksum bad */ | ||||
uint64_t ips_tooshort; /* packet too short */ | uint64_t ips_tooshort; /* packet too short */ | ||||
uint64_t ips_toosmall; /* not enough data */ | uint64_t ips_toosmall; /* not enough data */ | ||||
uint64_t ips_badhlen; /* ip header length < data size */ | uint64_t ips_badhlen; /* ip header length < data size */ | ||||
▲ Show 20 Lines • Show All 195 Lines • Show Last 20 Lines |