/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | tables.h | 49 struct phyint { struct 50 struct phyint *pi_next; 51 struct phyint *pi_prev; 158 struct phyint *pr_physical; /* Back pointer */ 206 struct phyint *adv_pr_physical; /* Back pointer */ 231 * Doubly-linked list of default routers on a phyint. 236 struct phyint *dr_physical; /* Back pointer */ 246 extern struct phyint *phyints; 254 extern struct phyint *phyint_lookup(char *name); 255 extern struct phyint *phyint_lookup_on_inde [all...] |
H A D | ndp.c | 40 struct phyint *pi, struct sockaddr_in6 *from); 42 static void incoming_rs(struct phyint *pi, struct nd_router_solicit *rs, 45 void incoming_ra(struct phyint *pi, struct nd_router_advert *ra, 47 static void incoming_prefix_opt(struct phyint *pi, uchar_t *opt, 49 static void incoming_prefix_onlink(struct phyint *pi, uchar_t *opt); 52 static void incoming_prefix_stateful(struct phyint *, uchar_t *); 53 static boolean_t incoming_prefix_addrconf(struct phyint *pi, 56 boolean_t incoming_prefix_addrconf_process(struct phyint *pi, 60 static void incoming_mtu_opt(struct phyint *pi, uchar_t *opt, 62 static void incoming_lla_opt(struct phyint *p [all...] |
H A D | main.c | 32 static void advertise(struct sockaddr_in6 *sin6, struct phyint *pi, 34 static void solicit(struct sockaddr_in6 *sin6, struct phyint *pi); 36 static void check_if_removed(struct phyint *pi); 37 static void loopback_ra_enqueue(struct phyint *pi, 108 static int phyint_check_ipadm_intfid(struct phyint *); 154 add_opt_lla(struct phyint *pi, struct nd_opt_lla *optp) 160 /* If this phyint doesn't have a link-layer address, bail */ 177 solicit(struct sockaddr_in6 *sin6, struct phyint *pi) 208 advertise(struct sockaddr_in6 *sin6, struct phyint *pi, boolean_t no_prefixes) 424 struct phyint *p 1740 ndpd_phyint_info_t phyint; local [all...] |
H A D | tables.c | 32 struct phyint *phyints = NULL; 35 static void phyint_print(struct phyint *pi); 36 static void phyint_insert(struct phyint *pi); 41 static void prefix_insert(struct phyint *pi, struct prefix *pr); 47 static void adv_prefix_insert(struct phyint *pi, struct adv_prefix *adv_pr); 51 static void router_insert(struct phyint *pi, struct router *dr); 60 struct phyint * 63 struct phyint *pi; 75 struct phyint * 78 struct phyint *p [all...] |
H A D | trace.c | 35 print_route_sol(char *str, struct phyint *pi, 52 print_route_adv(char *str, struct phyint *pi,
|
H A D | defs.h | 89 #define D_PHYINT 0x0004 /* phyint table */ 136 extern void logperror_pi(const struct phyint *pi, const char *str);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/ |
H A D | mpd_tables.h | 36 * phyint: A NIC eg. hme0. This is represented as 'struct phyint' 38 * phyint instance: A protocol instance of a phyint. Eg. the IPv4 instance of 46 * (ii) share the same phyint group name. 47 * Load spreading and failover occur across members of the same phyint group. 48 * phyint group members must be homogeneous. i.e. if a phyint belonging to a 49 * phyint group has a IPv6 protocol instance, then all members of the phyint 182 struct phyint { struct [all...] |
H A D | mpd_tables.c | 30 * Global list of phyints, phyint instances, phyint groups and the anonymous 33 struct phyint *phyints = NULL; 46 static void phyint_insert(struct phyint *pi, struct phyint_group *pg); 47 static void phyint_delete(struct phyint *pi); 48 static boolean_t phyint_is_usable(struct phyint *pi); 65 static int phyint_state_event(struct phyint_group *pg, struct phyint *pi); 68 static int phyint_group_member_event(struct phyint_group *pg, struct phyint *pi, 71 static int logint_upcount(struct phyint *pi); 88 /* Return the phyint wit [all...] |
H A D | mpd_probe.c | 78 static boolean_t phyint_repaired(struct phyint *pi); 97 * before declaring phyint repair. 99 * declare a phyint failure. 103 * The state of a phyint that is capable of being probed, is completely 106 * A phyint starts in either PI_RUNNING or PI_OFFLINE, depending on whether 107 * IFF_OFFLINE is set. If the phyint is also configured with a test address 108 * (the common case) and probe targets, then a phyint must also successfully 112 * Further, if a PI_RUNNING phyint is configured with a test address but is 120 * At any point, a phyint may be administratively marked offline via if_mpadm. 128 * PI_RUNNING: The failure detection logic says the phyint i [all...] |
H A D | mpd_main.c | 179 * Extract information about the phyint instance. If the phyint instance still 181 * will use it to detect phyint instances that don't exist any longer and 182 * remove them, from our database of phyint instances. 184 * returns true if the phyint instance exists in the kernel, 201 * create new phyint instance 353 * global list of addresses, phyint groups, phyints, and logints. 418 * group. Update our phyint and logint information (via 420 * convert the logint name to a phyint name so we can call 428 /* The phyint i [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/ |
H A D | in.rdisc.c | 102 struct phyint { struct 107 struct phyint *pi_next; 108 struct phyint *pi_prev; 124 struct phyint *li_physical; /* Back pointer */ 127 struct phyint *phyint; variable in typeref:struct:phyint 162 struct phyint *pi); 172 static struct phyint *find_phyint(char *name); 173 static struct phyint *add_phyint(char *name); 174 static void free_phyint(struct phyint *p [all...] |
/illumos-gate/usr/src/uts/common/io/nge/ |
H A D | nge_chip.h | 124 uint32_t phyint:1; member in struct:_nge_intr_src::__anon6242 151 uint32_t phyint:1; member in struct:_nge_intr_mask::__anon6243
|
H A D | nge_chip.c | 1317 intr_mask.mask_bits.phyint = NGE_CLEAR;
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip.c | 235 * The internal serialization is per phyint. This is used to serialize 244 * messages received from drivers on a per phyint basis. This serialization is 282 * * <ill-phyint> association 285 * <ill-phyint> assoc of an ill will all have to hold the ill_g_lock as 290 * It also protects the <ill-phyint> assoc. 300 * - phyint_lock: This is a per phyint mutex lock. Protects just the 320 * Changing <ill-phyint>, <ipsq-xop> assocications: 322 * To change the <ill-phyint> association, the ill_g_lock must be held 8622 * We are writer. ill / phyint / ipsq assocs stable. 8625 phyint_t *phyint local 8659 phyint_t *phyint = ill->ill_phyint; local 8667 phyint_t *phyint = ill->ill_phyint; local [all...] |
H A D | ip_if.c | 371 * after the phyint merge occurs in ipif_set_values -> ill_glist_insert 600 * could free the phyint. No more reference to the phyint after this 3055 * ill_init allocates a phyint always to store the copy 3056 * of flags relevant to phyint. At that point in time, we could 3073 * There are no ills left on this phyint; pull it out of the phyint 3306 /* Initialize the per phyint ipsq used for serialization */ 3465 * in an ipsq and the ills from the phyint thru the phyint_ill*. 3629 * Assign a unique interface index for the phyint [all...] |
/illumos-gate/usr/src/uts/common/inet/ |
H A D | ip.h | 1081 * Each phyint points to one IPSQ that remains fixed over the phyint's life. 1083 * phyint is *not* in an IPMP group, then its IPSQ will refer to the IPSQ's 1084 * "own" xop (ipsq_ownxop). If a phyint *is* part of an IPMP group, then its 1086 * IPSQ of the IPMP meta-interface's phyint. Thus, all phyints that are part 1088 * thus becoming "writer" on any phyint in the group will prevent any other 1089 * writer on any other phyint in the group. All IPSQs sharing the same xop 1097 * phyint leaves an IPMP group) simple, because after the phyint leaves the 1105 * While each phyint an 1209 typedef struct phyint { struct [all...] |