interface.h (985c053e) | interface.h (69bb4bb4) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 98 unchanged lines hidden (view full) --- 107 /* 108 * general interface information -- this information is initialized 109 * in insert_ifs() and does not change over the lifetime of the 110 * interface. 111 */ 112 113 char if_name[IFNAMSIZ]; 114 | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 98 unchanged lines hidden (view full) --- 107 /* 108 * general interface information -- this information is initialized 109 * in insert_ifs() and does not change over the lifetime of the 110 * interface. 111 */ 112 113 char if_name[IFNAMSIZ]; 114 |
115 uint32_t if_index; /* interface index */ 116 |
|
115 uint16_t if_max; /* largest DHCP packet on this if */ 116 uint16_t if_min; /* minimum mtu size on this if */ 117 uint16_t if_opt; /* amount of space for options in PKT */ 118 119 uchar_t *if_hwaddr; /* our link-layer address */ 120 uchar_t if_hwlen; /* our link-layer address len */ 121 uchar_t if_hwtype; /* type of link-layer */ 122 --- 239 unchanged lines hidden (view full) --- 362 */ 363 364int canonize_ifs(struct ifslist *); 365int check_ifs(struct ifslist *); 366void hold_ifs(struct ifslist *); 367struct ifslist *insert_ifs(const char *, boolean_t, int *); 368struct ifslist *lookup_ifs(const char *); 369struct ifslist *lookup_ifs_by_xid(uint32_t); | 117 uint16_t if_max; /* largest DHCP packet on this if */ 118 uint16_t if_min; /* minimum mtu size on this if */ 119 uint16_t if_opt; /* amount of space for options in PKT */ 120 121 uchar_t *if_hwaddr; /* our link-layer address */ 122 uchar_t if_hwlen; /* our link-layer address len */ 123 uchar_t if_hwtype; /* type of link-layer */ 124 --- 239 unchanged lines hidden (view full) --- 364 */ 365 366int canonize_ifs(struct ifslist *); 367int check_ifs(struct ifslist *); 368void hold_ifs(struct ifslist *); 369struct ifslist *insert_ifs(const char *, boolean_t, int *); 370struct ifslist *lookup_ifs(const char *); 371struct ifslist *lookup_ifs_by_xid(uint32_t); |
372struct ifslist *lookup_ifs_by_uindex(uint16_t, struct ifslist *); |
|
370void nuke_ifslist(boolean_t); 371void refresh_ifslist(iu_eh_t *, int, void *); 372int release_ifs(struct ifslist *); 373void remove_ifs(struct ifslist *); 374void reset_ifs(struct ifslist *); 375int verify_ifs(struct ifslist *); 376unsigned int ifs_count(void); 377void cancel_ifs_timers(struct ifslist *); 378int schedule_ifs_timer(struct ifslist *, int, uint32_t, 379 iu_tq_callback_t *); 380 381#ifdef __cplusplus 382} 383#endif 384 385#endif /* INTERFACE_H */ | 373void nuke_ifslist(boolean_t); 374void refresh_ifslist(iu_eh_t *, int, void *); 375int release_ifs(struct ifslist *); 376void remove_ifs(struct ifslist *); 377void reset_ifs(struct ifslist *); 378int verify_ifs(struct ifslist *); 379unsigned int ifs_count(void); 380void cancel_ifs_timers(struct ifslist *); 381int schedule_ifs_timer(struct ifslist *, int, uint32_t, 382 iu_tq_callback_t *); 383 384#ifdef __cplusplus 385} 386#endif 387 388#endif /* INTERFACE_H */ |