• Home
  • Raw
  • Download

Lines Matching refs:addrbuf

1219 	} addrbuf;  in printsock()  local
1231 if (addrlen < 2 || addrlen > sizeof(addrbuf)) in printsock()
1232 addrlen = sizeof(addrbuf); in printsock()
1234 memset(&addrbuf, 0, sizeof(addrbuf)); in printsock()
1235 if (umoven(tcp, addr, addrlen, addrbuf.pad) < 0) { in printsock()
1239 addrbuf.pad[sizeof(addrbuf.pad) - 1] = '\0'; in printsock()
1242 printxval(addrfams, addrbuf.sa.sa_family, "AF_???"); in printsock()
1245 switch (addrbuf.sa.sa_family) { in printsock()
1249 } else if (addrbuf.sau.sun_path[0]) { in printsock()
1251 printpathn(tcp, addr + 2, strlen(addrbuf.sau.sun_path)); in printsock()
1254 printpathn(tcp, addr + 3, strlen(addrbuf.sau.sun_path + 1)); in printsock()
1259 ntohs(addrbuf.sin.sin_port), inet_ntoa(addrbuf.sin.sin_addr)); in printsock()
1263 inet_ntop(AF_INET6, &addrbuf.sa6.sin6_addr, string_addr, sizeof(string_addr)); in printsock()
1265 ntohs(addrbuf.sa6.sin6_port), string_addr, in printsock()
1266 addrbuf.sa6.sin6_flowinfo); in printsock()
1271 if (IN6_IS_ADDR_LINKLOCAL (&addrbuf.sa6.sin6_addr) in printsock()
1272 || IN6_IS_ADDR_MC_LINKLOCAL (&addrbuf.sa6.sin6_addr)) { in printsock()
1275 if (if_indextoname (addrbuf.sa6.sin6_scope_id, scopebuf) == NULL) in printsock()
1284 tprintf(", sin6_scope_id=%u", addrbuf.sa6.sin6_scope_id); in printsock()
1294 ntohs(addrbuf.sipx.sipx_port)); in printsock()
1301 tprintf("%08lx:", (unsigned long)ntohl(addrbuf.sipx.sipx_network)); in printsock()
1303 tprintf("%02x", addrbuf.sipx.sipx_node[i]); in printsock()
1304 tprintf("/[%02x]", addrbuf.sipx.sipx_type); in printsock()
1313 ntohs(addrbuf.ll.sll_protocol), in printsock()
1314 addrbuf.ll.sll_ifindex); in printsock()
1315 printxval(af_packet_types, addrbuf.ll.sll_pkttype, "?"); in printsock()
1317 addrbuf.ll.sll_halen, in printsock()
1318 addrbuf.ll.sll_hatype); in printsock()
1319 for (i=0; i<addrbuf.ll.sll_halen; i++) in printsock()
1320 tprintf("%02x", addrbuf.ll.sll_addr[i]); in printsock()
1327 tprintf("pid=%d, groups=%08x", addrbuf.nl.nl_pid, addrbuf.nl.nl_groups); in printsock()
1336 sizeof addrbuf.sa.sa_data); in printsock()