/titanic_51/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | if.c | 312 if_link(struct interface *ifp, uint32_t ifindex) in if_link() argument 316 link_in((void **)&ifnet, ifp, offsetof(struct interface, int_link)); in if_link() 318 HADD(&ahash_tbl, ifp); in if_link() 319 HADD(&nhash_tbl, ifp); in if_link() 321 if (ifp->int_if_flags & IFF_BROADCAST) in if_link() 322 HADD(&bhash_tbl, ifp); in if_link() 339 size = strcspn(ifp->int_name, ":"); in if_link() 340 (void) strncpy(phyi->phyi_name, ifp->int_name, in if_link() 345 link_in((void **)&phyi->phyi_interface, ifp, in if_link() 347 ifp in if_link() 357 struct interface *ifp, *possible = NULL; ifwithaddr() local 395 struct interface *ifp; ifwithname() local 437 struct interface *ifp; findremoteif() local 451 struct interface *ifp; findifaddr() local 495 addr_on_ifp(in_addr_t addr,struct interface * ifp,struct interface ** best) addr_on_ifp() argument 541 struct interface *ifp, *maybe; iflookup() local 576 ripv1_mask_net(in_addr_t addr,const struct interface * ifp) ripv1_mask_net() argument 636 ripv1_mask_host(in_addr_t addr,const struct interface * ifp) ripv1_mask_host() argument 692 struct interface *ifp; check_dup() local 746 check_remote(struct interface * ifp) check_remote() argument 775 ifdel(struct interface * ifp) ifdel() argument 878 if_sick(struct interface * ifp,boolean_t recurse) if_sick() argument 902 if_bad(struct interface * ifp,boolean_t recurse) if_bad() argument 962 if_ok(struct interface * ifp,const char * type,boolean_t recurse) if_ok() argument 999 remote_address_ok(struct interface * ifp,in_addr_t addr) remote_address_ok() argument 1031 struct interface ifs, *ifp, *ifp1; ifscan() local 1768 check_net_syn(struct interface * ifp) check_net_syn() argument 1817 addrouteforif(struct interface * ifp) addrouteforif() argument 1924 get_if_kstats(struct interface * ifp,struct phyi_data * newdata) get_if_kstats() argument 1987 should_supply(struct interface * ifp) should_supply() argument [all...] |
H A D | rdisc.c | 100 #define PREF(p, ifp) ((p) <= (uint32_t)(ifp)->int_metric ? ((p) != 0 ? 1 : 0) \ argument 101 : (p) - ((ifp)->int_metric)) 112 struct interface *ifp, in trace_rdisc() argument 129 ifp ? ifp->int_name : "?", in trace_rdisc() 146 ifp ? ifp->int_name : "?", in trace_rdisc() 216 set_rdisc_mg(struct interface *ifp, in set_rdisc_mg() argument 227 if ((ifp in set_rdisc_mg() 297 struct interface *ifp; set_supplier() local 454 if_bad_rdisc(struct interface * ifp) if_bad_rdisc() argument 494 if_ok_rdisc(struct interface * ifp) if_ok_rdisc() argument 512 struct interface *ifp; del_rdisc() local 579 struct interface *ifp; rdisc_sort() local 879 parse_ad(uint32_t from,in_addr_t gate,uint32_t pref,ushort_t life,struct interface * ifp) parse_ad() argument 1006 send_rdisc(union ad_u * p,uint_t p_size,struct interface * ifp,in_addr_t dst,dstaddr_t type) send_rdisc() argument 1092 send_adv(struct interface * ifp,in_addr_t dst,dstaddr_t type) send_adv() argument 1131 struct interface *ifp; rdisc_adv() local 1174 struct interface *ifp; rdisc_sol() local 1222 ck_icmp(const char * act,in_addr_t from,struct interface * ifp,in_addr_t to,union ad_u * p,uint_t len) ck_icmp() argument 1273 struct interface *ifp; read_d() local 1406 rdisc_suppress(struct interface * ifp) rdisc_suppress() argument 1421 rdisc_restore(struct interface * ifp) rdisc_restore() argument [all...] |
H A D | parms.c | 56 get_parms(struct interface *ifp) in get_parms() argument 62 if (ifp == NULL) in get_parms() 68 strcmp(ifp->int_name, parmp->parm_name) == 0 || in get_parms() 70 on_net(ifp->int_addr, in get_parms() 77 ifp->int_state |= parmp->parm_int_state; in get_parms() 82 ifp->int_auth[num_passwds++] = in get_parms() 86 ifp->int_rdisc_pref = parmp->parm_rdisc_pref; in get_parms() 88 ifp->int_rdisc_int = parmp->parm_rdisc_int; in get_parms() 90 ifp->int_d_metric = parmp->parm_d_metric; in get_parms() 92 ifp in get_parms() 222 struct interface *ifp; gwkludge() local 1019 struct interface *ifp; addroutefordefault() local [all...] |
H A D | output.c | 57 struct interface *ifp; /* usually output interface */ member 103 struct interface *ifp, in output() argument 120 if (ifp == NULL && type == OUT_MULTICAST) { in output() 155 ifp != NULL && ifp->int_phys != NULL) ? in output() 156 ifp->int_phys->phyi_index : 0; in output() 158 if (rip_sock_interface != ifp) { in output() 164 if (ifp != NULL) { in output() 165 addr.s_addr = (ifp->int_if_flags & IFF_POINTOPOINT) ? in output() 166 ifp in output() 249 find_auth(struct interface * ifp) find_auth() argument 742 supply(struct sockaddr_in * dst,struct interface * ifp,enum output_type type,int flash,int vers,boolean_t passwd_ok) supply() argument 913 struct interface *ifp; rip_bcast() local 986 struct interface *ifp; rip_query() local [all...] |
H A D | input.c | 59 struct interface *ifp, *ifp1, *ifp2; in receiving_interface() local 67 if (findremote && ((ifp = findremoteif(from->sin_addr.s_addr)) != NULL)) in receiving_interface() 68 return (ifp); in receiving_interface() 80 if ((ifp = ifwithindex(ifindex, _B_TRUE)) != NULL) { in receiving_interface() 83 for (ifp1 = ifp; ifp1 != NULL; in receiving_interface() 95 ifp = ifp2; in receiving_interface() 96 return (ifp); in receiving_interface() 115 struct interface *ifp; in read_rip() local 143 * ifp is the interface via which the packet arrived. in read_rip() 145 ifp in read_rip() 155 input(struct sockaddr_in * from,struct interface * ifp,struct rip * rip,int cc) input() argument [all...] |
H A D | table.c | 212 * either has the same (gateway, ifp), or if its state in ag_find_suppressor() 317 struct interface *ifp, in ag_check() argument 346 nc_ag.ag_ifp = ifp; in ag_check() 425 if (ag->ag_nhop == nhop && ag->ag_ifp == ifp) { in ag_check() 442 ag->ag_ifp = ifp; in ag_check() 468 * differing gate nexthop/or ifp. Flush in ag_check() 494 (ag->ag_nhop == nhop && ag->ag_ifp == ifp && in ag_check() 541 ag->ag_ifp = ifp; in ag_check() 542 ifp = xifp; in ag_check() 649 nag->ag_ifp = ifp; in ag_check() 798 rtioctl(int action,in_addr_t dst,in_addr_t gate,in_addr_t mask,struct interface * ifp,uint8_t metric,int flags) rtioctl() argument 905 kern_find(in_addr_t dst,in_addr_t mask,in_addr_t gate,struct interface * ifp,struct khash *** ppk) kern_find() argument 928 kern_alternate(in_addr_t dst,in_addr_t mask,in_addr_t gate,struct interface * ifp,struct khash *** ppk) kern_alternate() argument 945 kern_add(in_addr_t dst,uint32_t mask,in_addr_t gate,struct interface * ifp) kern_add() argument 969 kern_flush_ifp(struct interface * ifp) kern_flush_ifp() argument 1019 kern_check_static(struct khash * k,struct interface * ifp) kern_check_static() argument 1120 struct interface *ifp = ifptr; rtm_add() local 1302 struct interface *ifp; get_info_gate() local 1352 struct interface *ifp; sync_kern() local 1571 struct interface *ifp; read_rt() local 1883 struct interface *ifp; kern_out() local 2178 del_static(in_addr_t dst,in_addr_t mask,in_addr_t gate,struct interface * ifp,int gone) del_static() argument 2572 struct interface *ifp, *ifp1; rtbad_sub() local 2726 struct interface *ifp; walk_age() local 2801 struct interface *ifp; age() local 2883 struct interface *ifp; gwkludge_iflookup() local 2906 struct interface *ifp; lifp_iflookup() local [all...] |
H A D | main.c | 759 struct interface *ifp; in rip_off() local 769 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) { in rip_off() 770 if ((ifp->int_if_flags & IFF_MULTICAST) && in rip_off() 771 !IS_IFF_QUIET(ifp->int_if_flags) && in rip_off() 772 !IS_RIP_IN_OFF(ifp->int_state) && in rip_off() 773 !(ifp->int_state & IS_DUP)) { in rip_off() 777 (ifp in rip_off() 802 rip_mcast_on(struct interface * ifp) rip_mcast_on() argument 823 rip_mcast_off(struct interface * ifp) rip_mcast_off() argument 843 rip_on(struct interface * ifp) rip_on() argument [all...] |
/titanic_51/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | startup.c | 44 static void addrouteforif(struct interface *ifp); 64 struct interface *ifp; in initifs() local 102 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) in initifs() 103 ifp->int_flags |= RIP6_IFF_MARKED; in initifs() 119 ifp = if_ifwithname(lifr.lifr_name); in initifs() 120 if (ifp != NULL) in initifs() 121 ifp in initifs() 364 addrouteforif(struct interface * ifp) addrouteforif() argument 505 resetup_listen_sock(struct interface * ifp,int newindex) resetup_listen_sock() argument [all...] |
H A D | output.c | 50 struct interface *ifp; in supplyall() local 52 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) { in supplyall() 53 if ((ifp->int_flags & RIP6_IFF_UP) == 0) in supplyall() 55 if (ifp->int_flags & RIP6_IFF_NORTEXCH) { in supplyall() 60 ifp->int_name); in supplyall() 65 if (ifp->int_sock == -1) in supplyall() 67 if (ifp in supplyall() 76 solicit(struct sockaddr_in6 * sin6,struct interface * ifp) solicit() argument 89 struct interface *ifp; solicitall() local 116 sendpacket(struct sockaddr_in6 * sin6,struct interface * ifp,int size,int flags) sendpacket() argument 133 supply(struct sockaddr_in6 * sin6,struct interface * ifp,int rtstate,boolean_t splith) supply() argument [all...] |
H A D | if.c | 48 struct interface *ifp; in if_ifwithname() local 50 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) { in if_ifwithname() 51 if (ifp->int_name != NULL && in if_ifwithname() 52 strcmp(ifp->int_name, name) == 0) in if_ifwithname() 55 return (ifp); in if_ifwithname() 72 struct interface *ifp; in if_dump2() local 91 for (ifp in if_dump2() [all...] |
H A D | trace.c | 48 static int iftraceinit(struct interface *ifp, struct ifdebug *ifd); 49 static void dumpif(FILE *fp, struct interface *ifp); 53 traceinit(struct interface *ifp) in traceinit() argument 55 if (iftraceinit(ifp, &ifp->int_input) && in traceinit() 56 iftraceinit(ifp, &ifp->int_output)) in traceinit() 60 (ifp->int_name != NULL) ? ifp->int_name : "(noname)"); in traceinit() 64 iftraceinit(struct interface *ifp, struc argument 219 dumpif(FILE * fp,struct interface * ifp) dumpif() argument [all...] |
H A D | trace.h | 81 #define TRACE_INPUT(ifp, src, size) { \ argument 82 if ((tracing & INPUT_BIT) && ((ifp) != NULL)) { \ 83 trace(&(ifp)->int_input, (src), packet, (size), \ 84 (ifp)->int_metric); \ 91 #define TRACE_OUTPUT(ifp, dst, size) { \ argument 92 if ((tracing & OUTPUT_BIT) && ((ifp) != NULL)) { \ 93 trace(&(ifp)->int_output, (dst), packet, (size), \ 94 (ifp)->int_metric); \
|
H A D | input.c | 46 struct interface *ifp); 71 in_data(struct interface *ifp) in in_data() argument 88 if ((len = recvmsg(ifp->int_sock, &rmsg, 0)) < 0) { in in_data() 121 rip_input(&from, len, *(uint_t *)hopcntopt, ifp); in in_data() 129 struct interface *ifp) in rip_input() argument 143 TRACE_INPUT(ifp, from, size); in rip_input() 153 if (ifp->int_flags & RIP6_IFF_NORTEXCH) { in rip_input() 158 ifp->int_name); in rip_input() 185 ifp->int_ipackets++; in rip_input() 210 supply(from, ifp, in rip_input() 508 dynamic_update(struct interface * ifp) dynamic_update() argument [all...] |
/titanic_51/usr/src/cmd/ipf/tools/ |
H A D | ip_fil.c | 439 void fr_forgetifp(ifp, ifs) in fr_forgetifp() argument 440 void *ifp; in fr_forgetifp() 448 if (f->fr_ifa == ifp) 452 if (f->fr_ifa == ifp) 456 if (f->fr_ifa == ifp) 460 if (f->fr_ifa == ifp) 465 if (f->fr_ifa == ifp) 469 if (f->fr_ifa == ifp) 473 if (f->fr_ifa == ifp) 477 if (f->fr_ifa == ifp) 502 no_output(ifp,m,s) no_output() argument 521 write_output(ifp,m,s) write_output() argument 561 fr_setifpaddr(ifp,addr) fr_setifpaddr() argument 613 struct ifnet *ifp, **ifpp, **old_ifneta; global() local 718 get_ifname(ifp) get_ifname() argument 736 struct ifnet *ifp, **ifpp; init_ifp() local 772 struct ifnet *ifp = fdp->fd_ifp; global() local 995 struct ifnet *ifp = ifptr; global() local [all...] |
/titanic_51/usr/src/cmd/ctfdiff/ |
H A D | ctfdiff.c | 92 ctfdiff_func_cb(ctf_file_t *ifp, ulong_t iidx, boolean_t similar, in ctfdiff_func_cb() argument 100 if (ctf_symbol_name(ifp, iidx, namebuf, sizeof (namebuf)) == NULL) { in ctfdiff_func_cb() 104 ctfdiff_fp_to_name(ifp), iidx); in ctfdiff_func_cb() 116 "different\n", ctfdiff_fp_to_name(ifp), namebuf, iidx); in ctfdiff_func_cb() 124 ctfdiff_obj_cb(ctf_file_t *ifp, ulong_t iidx, ctf_id_t iid, boolean_t similar, in ctfdiff_obj_cb() argument 132 if (ctf_symbol_name(ifp, iidx, namebuf, sizeof (namebuf)) == NULL) { in ctfdiff_obj_cb() 136 ctfdiff_fp_to_name(ifp), iidx); in ctfdiff_obj_cb() 148 ctfdiff_fp_to_name(ifp), namebuf, iidx); in ctfdiff_obj_cb() 156 ctfdiff_cb(ctf_file_t *ifp, ctf_id_t iid, boolean_t similar, ctf_file_t *ofp, in ctfdiff_cb() argument 162 if (ctf_type_kind(ifp, ii in ctfdiff_cb() 221 ctfdiff_labels(ctf_file_t * ifp,ctf_file_t * ofp) ctfdiff_labels() argument 322 ctf_file_t *ifp, *ofp; main() local [all...] |
/titanic_51/usr/src/lib/libctf/common/ |
H A D | ctf_diff.c | 107 ctf_diff_name(ctf_file_t *ifp, ctf_id_t iid, ctf_file_t *ofp, ctf_id_t oid) in ctf_diff_name() argument 112 if ((itp = ctf_lookup_by_id(&ifp, iid)) == NULL) in ctf_diff_name() 116 return (ctf_set_errno(ifp, iid)); in ctf_diff_name() 118 iname = ctf_strptr(ifp, itp->ctt_name); in ctf_diff_name() 135 ctf_diff_number(ctf_file_t *ifp, ctf_id_t iid, ctf_file_t *ofp, ctf_id_t oid) in ctf_diff_number() argument 139 if (ctf_type_encoding(ifp, iid, &ien) != 0) in ctf_diff_number() 143 return (ctf_set_errno(ifp, iid)); in ctf_diff_number() 161 ctf_diff_typedef(ctf_diff_t *cds, ctf_file_t *ifp, ctf_id_t iid, in ctf_diff_typedef() argument 166 while (ctf_type_kind(ifp, iid) == CTF_K_TYPEDEF) { in ctf_diff_typedef() 167 iref = ctf_type_reference(ifp, ii in ctf_diff_typedef() 188 ctf_diff_qualifier(ctf_diff_t * cds,ctf_file_t * ifp,ctf_id_t iid,ctf_file_t * ofp,ctf_id_t oid) ctf_diff_qualifier() argument 209 ctf_diff_array(ctf_diff_t * cds,ctf_file_t * ifp,ctf_id_t iid,ctf_file_t * ofp,ctf_id_t oid) ctf_diff_array() argument 253 ctf_diff_fptr(ctf_diff_t * cds,ctf_file_t * ifp,ctf_id_t iid,ctf_file_t * ofp,ctf_id_t oid) ctf_diff_fptr() argument 316 ctf_diff_struct(ctf_diff_t * cds,ctf_file_t * ifp,ctf_id_t iid,ctf_file_t * ofp,ctf_id_t oid) ctf_diff_struct() argument 508 ctf_diff_union(ctf_diff_t * cds,ctf_file_t * ifp,ctf_id_t iid,ctf_file_t * ofp,ctf_id_t oid) ctf_diff_union() argument 554 ctf_diff_enum(ctf_file_t * ifp,ctf_id_t iid,ctf_file_t * ofp,ctf_id_t oid) ctf_diff_enum() argument 596 ctf_diff_forward(ctf_file_t * ifp,ctf_id_t iid,ctf_file_t * ofp,ctf_id_t oid) ctf_diff_forward() argument 617 ctf_diff_type(ctf_diff_t * cds,ctf_file_t * ifp,ctf_id_t iid,ctf_file_t * ofp,ctf_id_t oid) ctf_diff_type() argument 819 ctf_diff_init(ctf_file_t * ifp,ctf_file_t * ofp,ctf_diff_t ** cdsp) ctf_diff_init() argument 963 ctf_file_t *ifp, *ofp; ctf_diff_symid() local 987 ctf_diff_void_cb(ctf_file_t * ifp,ctf_id_t iid,boolean_t same,ctf_file_t * ofp,ctf_id_t oid,void * arg) ctf_diff_void_cb() argument [all...] |
/titanic_51/usr/src/cmd/audio/audioconvert/ |
H A D | main.cc | 67 AudioUnixfile* ifp = NULL; // input & output audio objects in main() local 242 ifp = in main() 244 if (!ifp) { in main() 248 if ((err = ifp->Open()) != AUDIO_SUCCESS) { in main() 253 ifp->Reference(); in main() 262 ohdr = ifp->GetHeader(); in main() 263 ohdr = ifp->GetHeader(); in main() 274 if (verify_conversion(ifp->GetHeader(), ohdr) == -1) { in main() 282 infoString = ifp->GetInfostring(infoStringLen); in main() 289 ohdr = ifp in main() [all...] |
H A D | file.cc | 81 AudioUnixfile* ifp; in open_input_file() local 110 ifp = new AudioRawPipe(fileno(stdin), in open_input_file() 114 ifp = new AudioPipe(fileno(stdin), (FileAccess)ReadOnly, in open_input_file() 118 if (!ifp) { in open_input_file() 122 return (ifp); in open_input_file() 147 ifp = new AudioRawPipe(fd, (FileAccess)ReadOnly, in open_input_file() 162 ifp = new AudioFile(path, in open_input_file() 166 ifp = new AudioRawPipe(fd, in open_input_file() 173 ifp = new AudioRawPipe(fd, (FileAccess)ReadOnly, ihdr, in open_input_file() 177 ifp in open_input_file() [all...] |
/titanic_51/usr/src/lib/pam_modules/authtok_check/ |
H A D | packlib.c | 43 FILE *ifp; in PWOpen() local 75 if (!(pdesc->ifp = fdopen(fd_i, mode))) { in PWOpen() 84 ifp = pdesc->ifp; in PWOpen() 95 1, ifp); in PWOpen() 100 1, ifp)) { in PWOpen() 102 (void) fclose(ifp); in PWOpen() 109 (void) fclose(ifp); in PWOpen() 116 (void) fclose(ifp); in PWOpen() 142 if (fseek(pwp->ifp, in PWClose() [all...] |
/titanic_51/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | in.lpd.c | 370 submit_job(papi_service_t svc, FILE *ifp, char *printer, int rid, char *cf, in submit_job() argument 380 char *host = remote_host_name(ifp); in submit_job() 406 receive_control_file(papi_service_t svc, FILE *ifp, FILE *ofp, int size) in receive_control_file() argument 419 if (((rc = fread(ptr, 1, size, ifp)) == 0) && in receive_control_file() 420 (feof(ifp) != 0)) { in receive_control_file() 430 if (fgetc(ifp) != 0) { in receive_control_file() 440 receive_data_file(FILE *ifp, FILE *ofp, int size) in receive_data_file() argument 455 if (((rc = fread(buf, 1, rc, ifp)) == 0) && in receive_data_file() 456 (feof(ifp) != 0)) { in receive_data_file() 479 if (fgetc(ifp) ! in receive_data_file() 489 berkeley_receive_files(papi_service_t svc,FILE * ifp,FILE * ofp,char * printer) berkeley_receive_files() argument 552 berkeley_transfer_files(papi_service_t svc,FILE * ifp,FILE * ofp,char * printer) berkeley_transfer_files() argument 635 FILE *ifp = stdin; main() local [all...] |
/titanic_51/usr/src/uts/common/xen/io/ |
H A D | xencons.c | 256 xcp->ifp = (volatile struct xencons_interface *)HYPERVISOR_console_page; in xenconssetup() 524 #define INBUF_IX(ix, ifp) (DOMAIN_IS_INITDOMAIN(xen_info) ? \ argument 525 (ix) : MASK_XENCONS_IDX((ix), (ifp)->in)) 542 volatile struct xencons_interface *ifp; in xencons_rxint() local 558 ifp = xcp->ifp; in xencons_rxint() 580 cons = ifp->in_cons; in xencons_rxint() 581 prod = ifp->in_prod; in xencons_rxint() 584 cp = (uchar_t *)ifp->in; in xencons_rxint() 604 c = cp[INBUF_IX(cons + i, ifp)]; in xencons_rxint() 734 volatile struct xencons_interface *ifp = xcp->ifp; xenconsintr() local 860 volatile struct xencons_interface *ifp = xcp->ifp; xcasync_start() local 1282 volatile struct xencons_interface *ifp = xcp->ifp; xenconsputchar() local 1320 volatile struct xencons_interface *ifp = xcp->ifp; xenconsischar() local [all...] |
/titanic_51/usr/src/cmd/saf/ |
H A D | admutil.c | 278 FILE *ifp; /* file pointer for source file */ in do_config() local 302 ifp = fopen(script, "r"); in do_config() 303 if (ifp == NULL) { in do_config() 311 while(fgets(buf, SIZE, ifp)) { in do_config() 318 (void) fclose(ifp); in do_config() 336 ifp = fopen(buf, "r"); in do_config() 337 if (ifp == NULL) { in do_config() 342 while (fgets(buf, SIZE, ifp)) in do_config() 344 (void) fclose(ifp); in do_config()
|
/titanic_51/usr/src/uts/common/io/warlock/ |
H A D | ifp.wlcmd | 7 ### Warlock commands for analyzing the ifp driver alone. 9 ### Tell warlock there's only one ifp struct, so that it will complain 12 one ifp 26 ignore ifp.c:ifp_hp_daemon 31 ifp::ifp_response_mutex \ 32 ifp::ifp_request_mutex \ 33 ifp::ifp_waitq_mutex
|
/titanic_51/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | localaddr.c | 181 void printifaddr (struct ifaddrs *ifp) in printifaddr() argument 183 printf ("%p={\n", ifp); in printifaddr() 184 /* printf ("\tnext=%p\n", ifp->ifa_next); */ in printifaddr() 185 printf ("\tname=%s\n", ifp->ifa_name); in printifaddr() 188 int ch, flags = ifp->ifa_flags; in printifaddr() 204 if (ifp->ifa_addr) in printifaddr() 205 printf ("\n\taddr="), printaddr (ifp->ifa_addr); in printifaddr() 206 if (ifp->ifa_netmask) in printifaddr() 207 printf ("\n\tnetmask="), printaddr (ifp->ifa_netmask); in printifaddr() 208 if (ifp in printifaddr() 428 struct ifaddrs *ifp_head, *ifp, *ifp2; foreach_localaddr() local [all...] |
/titanic_51/usr/src/lib/libipadm/common/ |
H A D | ipadm_if.c | 91 ipadm_if_info_t *ifp; in i_ipadm_active_if_info() local 120 for (ifp = *if_info; ifp != NULL; ifp = ifp->ifi_next) { in i_ipadm_active_if_info() 121 if (strcmp(lifrp->lifr_name, ifp->ifi_name) == 0) in i_ipadm_active_if_info() 124 if (ifp == NULL) { in i_ipadm_active_if_info() 125 ifp = calloc(1, sizeof (ipadm_if_info_t)); in i_ipadm_active_if_info() 126 if (ifp == NULL) { in i_ipadm_active_if_info() 130 (void) strlcpy(ifp in i_ipadm_active_if_info() 196 ipadm_if_info_t *ifp, *curr, *prev = NULL; i_ipadm_persist_if_info() local [all...] |