Home
last modified time | relevance | path

Searched refs:in_addr_t (Results 1 – 25 of 127) sorted by relevance

123456

/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Ddefs.h219 in_addr_t rt_mask;
330 in_addr_t int_addr; /* address on this host (net order) */
331 in_addr_t int_brdaddr; /* broadcast address (n) */
332 in_addr_t int_dstaddr; /* other end of pt-to-pt link (n) */
333 in_addr_t int_net; /* working network # (host order) */
334 in_addr_t int_mask; /* working net mask (host order) */
335 in_addr_t int_ripv1_mask; /* for inferring a mask (n) */
336 in_addr_t int_std_addr; /* class A/B/C address (n) */
337 in_addr_t int_std_net; /* class A/B/C network (h) */
338 in_addr_t int_std_mask; /* class A/B/C netmask (h) */
[all …]
H A Dcommon.c17 in_addr_t /* host byte order */
18 std_mask(in_addr_t addr) /* network byte order */ in std_mask()
39 in_addr_t *netp, /* network in host byte order */ in getnet()
40 in_addr_t *maskp) /* masks are always in host order */ in getnet()
44 in_addr_t mask; /* in host byte order */ in getnet()
73 if ((in.s_addr = inet_network(name)) == (in_addr_t)-1) { in getnet()
H A Dtable.c58 static struct interface *gwkludge_iflookup(in_addr_t, in_addr_t, in_addr_t);
59 static struct interface *lifp_iflookup(in_addr_t, const char *);
202 in_addr_t dst_h = ag->ag_dst_h; in ag_find_suppressor()
239 ag_flush(in_addr_t lim_dst_h, /* flush routes to here */ in ag_flush()
240 in_addr_t lim_mask, /* matching this mask */ in ag_flush()
244 in_addr_t dst_h; in ag_flush()
314 ag_check(in_addr_t dst, in ag_check()
315 in_addr_t mask, in ag_check()
316 in_addr_t gate, in ag_check()
318 in_addr_t nhop, in ag_check()
[all …]
H A Dif.c84 in_addr_t loopaddr; /* our address on loopback */
145 return ((uint_t)*(const in_addr_t *)((const char *)arg + voffs)); in ahash()
353 ifwithaddr(in_addr_t addr, in ifwithaddr()
435 findremoteif(in_addr_t addr) in findremoteif()
449 findifaddr(in_addr_t addr) in findifaddr()
495 addr_on_ifp(in_addr_t addr, struct interface *ifp, in addr_on_ifp()
539 iflookup(in_addr_t addr) in iflookup()
574 in_addr_t
575 ripv1_mask_net(in_addr_t addr, /* in network byte order */ in ripv1_mask_net()
579 in_addr_t mask = 0; in ripv1_mask_net()
[all …]
H A Dparms.c51 static void addroutefordefault(in_addr_t, in_addr_t, in_addr_t,
982 gethost(char *name, in_addr_t *addrp) in gethost()
992 if ((in.s_addr = inet_addr(name)) != (in_addr_t)-1) { in gethost()
1015 addroutefordefault(in_addr_t dst, in_addr_t gate, in_addr_t mask, in addroutefordefault()
/titanic_44/usr/src/head/arpa/
H A Dinet.h70 extern in_addr_t inet_addr(const char *);
75 extern in_addr_t inet_lnaof(struct in_addr);
76 extern struct in_addr inet_makeaddr(in_addr_t, in_addr_t);
77 extern in_addr_t inet_netof(struct in_addr);
78 extern in_addr_t inet_network(const char *);
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_mip.h98 in_addr_t home_addr; /* address of the MN */
99 in_addr_t home_agent_addr; /* address of a HA */
100 in_addr_t care_of_addr; /* address of decap endpoint */
120 in_addr_t home_addr; /* address of the MN */
121 in_addr_t home_agent_addr; /* address of a HA */
122 in_addr_t care_of_addr; /* address of decap endpoint */
136 in_addr_t home_addr; /* address of the mobile node */
137 in_addr_t home_agent_addr; /* address of the home agent */
/titanic_44/usr/src/lib/libsocket/inet/
H A Dinet_network.c51 in_addr_t
54 in_addr_t val; in inet_network()
58 in_addr_t parts[4], *pp = parts; in inet_network()
85 return ((in_addr_t)-1); in inet_network()
92 return ((in_addr_t)-1); in inet_network()
/titanic_44/usr/src/uts/common/io/hxge/
H A Dhxge_flow.h39 in_addr_t ip4src;
40 in_addr_t ip4dst;
53 in_addr_t ip4src;
54 in_addr_t ip4dst;
67 in_addr_t ip4src;
68 in_addr_t ip4dst;
/titanic_44/usr/src/uts/common/sys/nxge/
H A Dnxge_flow.h37 in_addr_t ip4src;
38 in_addr_t ip4dst;
53 in_addr_t ip4src;
54 in_addr_t ip4dst;
69 in_addr_t ip4src;
70 in_addr_t ip4dst;
/titanic_44/usr/src/cmd/rpcsvc/rpc.bootparamd/
H A Dbootparam_ip_route.c230 in_addr_t
301 in_addr_t addr, mask, net; in get_ip_route()
426 in_addr_t
429 in_addr_t server_addr = 0; in find_best_server_int()
438 in_addr_t client_net = 0, client_mask = 0; in find_best_server_int()
441 (void) memcpy(&server_addr, addr_list[0], sizeof (in_addr_t)); in find_best_server_int()
481 in_addr_t addr, mask, net; in find_best_server_int()
507 in_addr_t addr; in find_best_server_int()
509 (void) memcpy(&addr, *addr_list, sizeof (in_addr_t)); in find_best_server_int()
H A Dbootparam_private.h39 extern in_addr_t get_ip_route(struct in_addr);
40 extern in_addr_t find_best_server_int(char **, char *);
/titanic_44/usr/src/psm/stand/boot/sparc/common/
H A Dwbcli.c363 if (inet_addr(valstr) == (in_addr_t)-1 || in clip()
412 u.https || inet_addr(u.hport.hostname) == (in_addr_t)-1 || in clurl()
439 inet_addr(u.hostname) == (in_addr_t)-1 || in clhp()
1033 static in_addr_t
1034 generate_classful_subnet(in_addr_t client_ipaddr) in generate_classful_subnet()
1082 in_addr_t client_ipaddr, ipaddr, bsnet, pxnet; in config_incomplete()
1083 static in_addr_t subnetmask, clnet; in config_incomplete()
1088 in_addr_t rsnet, blnet; in config_incomplete()
1102 if ((client_ipaddr = inet_addr(buf)) == (in_addr_t)-1) { in config_incomplete()
1117 if ((subnetmask = inet_addr(buf)) == (in_addr_t)-1) { in config_incomplete()
[all …]
/titanic_44/usr/src/uts/common/sys/
H A Dbyteorder.h79 typedef uint32_t in_addr_t;
88 extern in_addr_t htonl(in_addr_t);
90 extern in_addr_t ntohl(in_addr_t);
/titanic_44/usr/src/lib/libtsnet/common/
H A Dtsol_sgetrhent.c64 get_classful_prefix(in_addr_t addr) in get_classful_prefix()
89 get_network_prefix(in_addr_t *addrp) in get_network_prefix()
92 in_addr_t addr; in get_network_prefix()
118 inet_network(addrbuf)) != (in_addr_t)-1) { in parse_address()
/titanic_44/usr/src/lib/nsswitch/files/common/
H A Dgethostent.c135 in_addr_t *addrpv4; in __nss_files_get_addr()
144 addrpv4 = (in_addr_t *)addrp; in __nss_files_get_addr()
147 *h_length = sizeof (in_addr_t); in __nss_files_get_addr()
173 in_addr_t addr_ipv4; in __nss_files_check_addr()
352 in_addr_t *taddr = NULL;
369 taddr = (in_addr_t *)calloc(ntaddr, sizeof (*taddr));
576 taddr = (in_addr_t *)addrp;
630 (*(in_addr_t *)addrp) = taddr[i];
H A Dgetnetent.c58 in_addr_t linenet; in check_addr()
80 (in_addr_t)0xffffffffU) in check_addr()
H A Dnetmasks.c76 (in_addr_t)0xffffffffU) in check_addr()
79 == (in_addr_t)0xffffffffU) in check_addr()
/titanic_44/usr/src/uts/sun4u/starcat/sys/
H A Ddman.h336 in_addr_t ip_other_sc_ipaddr;
337 in_addr_t ip_my_sc_ipaddr;
426 in_addr_t manc_dom_ipaddr; /* Domains IP address */
427 in_addr_t manc_dom_ip_netmask; /* Domains IP netmask */
428 in_addr_t manc_sc_ipaddr; /* SC's IP address */
/titanic_44/usr/src/cmd/tsol/tnd/
H A Dtnd.h103 in_addr_t addr;
125 in_addr_t _v4addr;
H A Dtnd.c83 static int is_better_match(in_addr_t newaddr, int indx, tnrh_tlb_t *tlbt);
84 static int walk_cache_table(in_addr_t newaddr, char *name,
86 static tnrh_tlb_t *lookup_cache_table(in_addr_t addr);
90 static in_addr_t rh_index_to_mask(uint_t masklen);
120 #define RH_HOST_MASK (in_addr_t)0xffffffffU
311 in_addr_t tmpmask = rh_index_to_mask(i); in rhaddr_compar_mask()
373 get_hashvalue(in_addr_t addr) in get_hashvalue()
384 static in_addr_t
1169 add_cache_entry(in_addr_t addr, char *name, int indx, in add_cache_entry()
1206 lookup_cache_table(in_addr_t addr) in lookup_cache_table()
[all …]
/titanic_44/usr/src/lib/libsmbfs/netsmb/
H A Dnb_lib.h71 in_addr_t nb_wins1; /* primary WINS */
72 in_addr_t nb_wins2; /* secondary WINS (unused now) */
/titanic_44/usr/src/cmd/isns/isnsd/
H A Disns_scn.h67 in_addr_t in;
119 int connect_to(int, in_addr_t, in6_addr_t *, uint32_t);
/titanic_44/usr/src/cmd/mdb/common/modules/arp/
H A Darp.c63 in_addr_t inaddr; in print_arp()
74 } else if (arh->arh_plen == sizeof (in_addr_t)) { in print_arp()
/titanic_44/usr/src/uts/common/inet/
H A Dip_ndp.h288 extern ncec_t *ncec_lookup_illgrp_v4(ill_t *, const in_addr_t *);
289 extern nce_t *nce_lookup_v4(ill_t *, const in_addr_t *);
312 const in_addr_t *, uint16_t, uint16_t, nce_t **);

123456