/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_tcp.c | 80 uint16_t sport; in sfxge_pkthdr_parse() local 89 sport = 0; in sfxge_pkthdr_parse() 153 sport = thp->th_sport; in sfxge_pkthdr_parse() 172 sport = uhp->uh_sport; in sfxge_pkthdr_parse() 191 sport = shp->sh_sport; in sfxge_pkthdr_parse() 209 *sportp = sport; in sfxge_pkthdr_parse()
|
/illumos-gate/usr/src/test/os-tests/tests/tcpsig/ |
H A D | tcpsig_fini.ksh | 20 delete src $ip dst $ip sport 24135 22 delete src $ip dst $ip sport 24136 25 delete src $ip dst $ip sport 24138
|
H A D | tcpsig_init.ksh | 24 add src $ip dst $ip sport 24135 authalg md5 authstring "$AUTHSTR" 27 add src $ip dst $ip sport 24136 authalg md5 authstring "$ALTAUTHSTR" 31 add src $ip dst $ip sport 24138 authalg md5 authstring "$AUTHSTR"
|
/illumos-gate/usr/src/uts/common/inet/ilb/ |
H A D | ilb_conn.c | 66 #define ILB_CONN_HASH(saddr, sport, daddr, dport, hash_size) \ argument 70 (*(saddr) ^ *(daddr)) + (sport) * 37 + (dport)) & \ 505 in6_addr_t *src, in_port_t sport, in6_addr_t *dst, in_port_t dport, in ilb_conn_add() argument 544 connp->conn_c2s_sport = sport; in ilb_conn_add() 560 connp->conn_s2c_dport = sport; in ilb_conn_add() 612 sport, dport, info->nat_sport, in ilb_conn_add() 629 sport, dport, &connp->conn_s2c_tp_sum); in ilb_conn_add() 634 sport, dport, info->nat_sport, in ilb_conn_add() 643 info->nat_dport, sport, dport, in ilb_conn_add() 675 i = ILB_CONN_HASH((uint8_t *)&src->s6_addr32[3], ntohs(sport), in ilb_conn_add() [all …]
|
H A D | ilb_nat.c | 457 *orig_dport = info->sport; in ilb_full_nat() 476 *orig_dport = info->sport; in ilb_full_nat() 571 in_port_t *sport, in_port_t *dport, ilb_nat_info_t *info, uint32_t sum, in ilb_nat_icmpv4() argument 582 *sport = info->nat_dport; in ilb_nat_icmpv4() 591 in_port_t *sport, in_port_t *dport, ilb_nat_info_t *info, in ilb_nat_icmpv6() argument 603 *sport = info->nat_dport; in ilb_nat_icmpv6()
|
H A D | ilb_alg_hash.c | 95 hash_lb(in6_addr_t *saddr, in_port_t sport, in6_addr_t *daddr, in hash_lb() argument 116 HASH_IP_PORT_V6(i, saddr, sport, hash_alg->hash_servers); in hash_lb() 141 HASH_IP_PORT_V6(i, saddr, sport, in hash_lb()
|
H A D | ilb.c | 1669 in_port_t sport, dport; in ilb_check() local 1694 sport = tcph->tha_lport; in ilb_check() 1701 sport = udph->uha_src_port; in ilb_check() 1709 if (ilb_check_conn(ilbs, l3, iph, l4, tph, src, dst, sport, dport, in ilb_check() 1736 balanced = rule->ir_alg->ilb_alg_lb(src, sport, dst, dport, in ilb_check() 1787 info.sport = sport; in ilb_check() 1820 if (ilb_conn_add(ilbs, rule, server, src, sport, dst, in ilb_check() 1844 if (ilb_conn_add(ilbs, rule, server, src, sport, dst, in ilb_check()
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_nat6.c | 285 u_short st_port, dport, sport, port, sp, dp; local 304 sport = ni->nai_sport; 371 port = ntohs(sport) + l; 423 port = ntohs(sport); 473 port = sport; 518 nat->nat_inport = sport; 551 u_short nport, dport, sport; local 569 sport = ni->nai_sport; 701 ni->nai_port = sport; 706 nat->nat_oport = sport; [all …]
|
H A D | ip_nat.c | 2095 u_short st_port, dport, sport, port, sp, dp; local 2115 sport = ni->nai_sport; 2174 port = ntohs(sport) + l; 2221 port = ntohs(sport); 2264 port = sport; 2309 nat->nat_inport = sport; 2343 u_short nport, dport, sport; local 2358 sport = ni->nai_sport; 2484 ni->nai_port = sport; 2489 nat->nat_oport = sport; [all …]
|
/illumos-gate/usr/src/uts/common/ipp/ipgpc/ |
H A D | classifier.c | 136 if (packet->sport > 0) { in common_classify() 138 packet->sport, fid_table); in common_classify() 503 packet->sport = (uint16_t)*up++; in get_port_info() 557 packet->sport = (uint16_t)*up++; in get_port_info() 618 packet->sport = 0; in parse_packet() 649 packet->sport = 0; in parse_packet6() 684 daddrbuf, ntohs(pkt->sport), ntohs(pkt->dport), pkt->proto, in print_packet() 696 daddrbuf, ntohs(pkt->sport), ntohs(pkt->dport), pkt->proto, in print_packet()
|
H A D | classifier.h | 66 uint16_t sport; /* source port */ member
|
/illumos-gate/usr/src/cmd/cmd-inet/etc/ |
H A D | ipqosconf.1.sample | 37 # Before this configuration file can be applied the sport parameter of the 69 sport __videoport__ 76 sport smtp 90 sport nntp
|
H A D | ipqosconf.2.sample | 38 # Before this example configuration file can be applied the sport and daddr 49 sport myport
|
/illumos-gate/usr/src/uts/common/ipp/flowacct/ |
H A D | flowacct.c | 73 (f->proto) + (f->sport) + (f->dport)) \ 125 header->sport = (uint16_t)*up++; in flowacct_port_info() 179 header->sport = (uint16_t)*up++; in flowacct_port_info() 236 header->sport = 0; in flowacct_extract_header() 298 (flow->sport == header->sport) && in flowacct_flow_present() 475 flow->sport = header->sport; in flowacct_update_flows_tbl() 697 tmp_frec->fl_use->fu_sport = htons(flow->sport); in flowacct_create_record()
|
H A D | flowacct_impl.h | 133 uint16_t sport; member 150 uint16_t sport; member
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_sctp.c | 238 static in_port_t sport, dport; variable 787 if (!interpret_reserved(flags, IPPROTO_SCTP, sport, dport, payload, in parse_data_chunk() 1101 sport = ntohs(sctp->sh_sport); in interpret_sctp() 1112 SUMAPPEND((scratch, MAXLINE, "SCTP D=%d S=%d ", dport, sport)); in interpret_sctp() 1119 pn = getportname(IPPROTO_SCTP, (ushort_t)sport); in interpret_sctp() 1127 "Source port = %hu %s", sport, pn); in interpret_sctp() 1188 "D=%d S=%d %s %s", dport, sport, in interpret_protoid()
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | rpc_soc.c | 105 ushort_t sport; in clnt_com_create() local 110 sport = pmap_getport(raddr, prog, vers, proto); in clnt_com_create() 111 if (sport == 0) { in clnt_com_create() 115 raddr->sin_port = htons(sport); in clnt_com_create()
|
/illumos-gate/usr/src/uts/common/sys/ib/clients/rds/ |
H A D | rds_transport.h | 37 ipaddr_t destip, in_port_t sport, in_port_t dport,
|
/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | bhyverun.c | 654 const char *sport; in bhyve_parse_gdb_options() local 664 sport = opt; in bhyve_parse_gdb_options() 668 sport = colon; in bhyve_parse_gdb_options() 672 set_config_value("gdb.port", sport); in bhyve_parse_gdb_options()
|
H A D | gdb.c | 1935 char *sport; in init_gdb() local 1941 sport = strdup(value); in init_gdb() 1942 if (sport == NULL) in init_gdb() 1953 saddr, sport, wait ? "" : "not "); in init_gdb() 1967 error = getaddrinfo(saddr, sport, &hints, &gdbaddr); in init_gdb() 2010 free(sport); in init_gdb()
|
/illumos-gate/usr/src/cmd/cmd-inet/etc/secret/ |
H A D | tcpkeys.sample | 10 # add src 192.168.1.2 dst 192.168.1.1 sport 179 authalg md5 authstring s3kr1t
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipfstat.c | 207 int sport = -1; /* -1 = wild card for any source port */ local 362 parse_ipportstr(optarg, &saddr, &sport); 418 topipstates(saddr, daddr, sport, dport, protocol, 1162 static void topipstates(saddr, daddr, sport, dport, protocol, ver, in topipstates() argument 1166 int sport; 1265 (((sport > 0) && (htons(sport) != ips.is_sport)) || 1402 if (sport >= 0) 1403 sprintf(str1, "%s,%d", getip(ver, &saddr), sport);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/ip/ |
H A D | ip.c | 1173 in_port_t sport, dport; in tcphdr_print() local 1179 mdb_nhconvert(&sport, &tcph->th_sport, sizeof (sport)); in tcphdr_print() 1190 sport, dport, seq, ack, tcph->th_off << 2, win, in tcphdr_print() 1193 sport, dport, seq, ack); in tcphdr_print() 1233 in_port_t sport, dport; in udphdr_print() local 1238 mdb_nhconvert(&sport, &udph->uh_sport, sizeof (sport)); in udphdr_print() 1244 mdb_printf("%5hu (0x%04x) %5hu (0x%04x) %5hu 0x%04hx\n\n", sport, sport, in udphdr_print() 1268 in_port_t sport, dport; in sctphdr_print() local 1271 mdb_nhconvert(&sport, &sctph->sh_sport, sizeof (sport)); in sctphdr_print() 1276 mdb_printf("%5hu (0x%04x) %5hu (0x%04x) %10u 0x%08x\n\n", sport, sport, in sctphdr_print()
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | message.c | 145 rdsv3_message_populate_header(struct rdsv3_header *hdr, uint16_be_t sport, in rdsv3_message_populate_header() argument 149 hdr->h_sport = sport; in rdsv3_message_populate_header()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/ |
H A D | ipgpc.types | 40 filter sport port
|