Home
last modified time | relevance | path

Searched refs:sport (Results 1 – 25 of 38) sorted by relevance

12

/titanic_41/usr/src/uts/common/inet/ilb/
H A Dilb_conn.c66 #define ILB_CONN_HASH(saddr, sport, daddr, dport, hash_size) \ argument
70 (*(saddr) ^ *(daddr)) + (sport) * 37 + (dport)) & \
502 in6_addr_t *src, in_port_t sport, in6_addr_t *dst, in_port_t dport, in ilb_conn_add() argument
541 connp->conn_c2s_sport = sport; in ilb_conn_add()
557 connp->conn_s2c_dport = sport; in ilb_conn_add()
609 sport, dport, info->nat_sport, in ilb_conn_add()
626 sport, dport, &connp->conn_s2c_tp_sum); in ilb_conn_add()
631 sport, dport, info->nat_sport, in ilb_conn_add()
640 info->nat_dport, sport, dport, in ilb_conn_add()
672 i = ILB_CONN_HASH((uint8_t *)&src->s6_addr32[3], ntohs(sport), in ilb_conn_add()
[all …]
H A Dilb_nat.c457 *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 Dilb_alg_hash.c95 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 Dilb.c1669 in_port_t sport, dport; in ilb_check() local
1692 sport = tcph->tha_lport; in ilb_check()
1699 sport = udph->uha_src_port; in ilb_check()
1707 if (ilb_check_conn(ilbs, l3, iph, l4, tph, src, dst, sport, dport, in ilb_check()
1734 balanced = rule->ir_alg->ilb_alg_lb(src, sport, dst, dport, in ilb_check()
1785 info.sport = sport; in ilb_check()
1818 if (ilb_conn_add(ilbs, rule, server, src, sport, dst, in ilb_check()
1842 if (ilb_conn_add(ilbs, rule, server, src, sport, dst, in ilb_check()
/titanic_41/usr/src/cmd/ssh/sshd/
H A Dauth-options.c221 char host[256], sport[6]; in auth_parse_options() local
247 if (sscanf(patterns, "%255[^:]:%5[0-9]", host, sport) != 2 && in auth_parse_options()
248 sscanf(patterns, "%255[^/]/%5[0-9]", host, sport) != 2) { in auth_parse_options()
256 if ((port = a2port(sport)) == 0) { in auth_parse_options()
258 file, linenum, sport); in auth_parse_options()
/titanic_41/usr/src/uts/common/ipp/ipgpc/
H A Dclassifier.c136 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 Dclassifier.h66 uint16_t sport; /* source port */ member
H A Dfilters.c668 if (nvlist_lookup_uint16(nvlp, IPGPC_SPORT, &filter->sport) != 0) { in ipgpc_parse_filter()
669 filter->sport = 0; in ipgpc_parse_filter()
677 if (filter->sport != 0) { in ipgpc_parse_filter()
679 "to mask sport %u", filter->sport)); in ipgpc_parse_filter()
684 if (filter->sport == 0) { in ipgpc_parse_filter()
963 fid->filter.sport, fid->filter.sport_mask) == NORMAL_VALUE) { in common_addfilter()
1381 fid->filter.sport, fid->filter.sport_mask); in common_removefilter()
2377 in_filter->sport)) != 0) { in build_filter_nvlist()
H A Dclassifier-objects.h126 uint16_t sport; /* source port key */ member
/titanic_41/usr/src/uts/common/inet/ipf/
H A Dip_nat6.c285 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 Dip_nat.c2095 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 …]
/titanic_41/usr/src/cmd/cmd-inet/etc/
H A Dipqosconf.1.sample37 # Before this configuration file can be applied the sport parameter of the
69 sport __videoport__
76 sport smtp
90 sport nntp
H A Dipqosconf.2.sample38 # Before this example configuration file can be applied the sport and daddr
49 sport myport
H A Dipqosconf.3.sample50 sport 80
/titanic_41/usr/src/uts/common/ipp/flowacct/
H A Dflowacct.c73 (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 Dflowacct_impl.h135 uint16_t sport; member
152 uint16_t sport; member
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_sctp.c240 static in_port_t sport, dport; variable
789 if (!interpret_reserved(flags, IPPROTO_SCTP, sport, dport, payload, in parse_data_chunk()
1103 sport = ntohs(sctp->sh_sport); in interpret_sctp()
1114 SUMAPPEND((scratch, MAXLINE, "SCTP D=%d S=%d ", dport, sport)); in interpret_sctp()
1121 pn = getportname(IPPROTO_SCTP, (ushort_t)sport); in interpret_sctp()
1129 "Source port = %hu %s", sport, pn); in interpret_sctp()
1190 "D=%d S=%d %s %s", dport, sport, in interpret_protoid()
/titanic_41/usr/src/uts/common/sys/ib/clients/rds/
H A Drds_transport.h39 ipaddr_t destip, in_port_t sport, in_port_t dport,
/titanic_41/usr/src/lib/libnsl/rpc/
H A Drpc_soc.c107 ushort_t sport; in clnt_com_create() local
112 sport = pmap_getport(raddr, prog, vers, proto); in clnt_com_create()
113 if (sport == 0) { in clnt_com_create()
117 raddr->sin_port = htons(sport); in clnt_com_create()
/titanic_41/usr/src/cmd/ipf/tools/
H A Dipfstat.c207 int sport = -1; /* -1 = wild card for any source port */ local
362 parse_ipportstr(optarg, &saddr, &sport);
418 topipstates(saddr, daddr, sport, dport, protocol,
1163 static void topipstates(saddr, daddr, sport, dport, protocol, ver, in topipstates() argument
1167 int sport;
1266 (((sport > 0) && (htons(sport) != ips.is_sport)) ||
1403 if (sport >= 0)
1404 sprintf(str1, "%s,%d", getip(ver, &saddr), sport);
/titanic_41/usr/src/cmd/mdb/common/modules/ip/
H A Dip.c1149 in_port_t sport, dport; in tcphdr_print() local
1155 mdb_nhconvert(&sport, &tcph->th_sport, sizeof (sport)); in tcphdr_print()
1166 sport, dport, seq, ack, tcph->th_off << 2, win, in tcphdr_print()
1169 sport, dport, seq, ack); in tcphdr_print()
1209 in_port_t sport, dport; in udphdr_print() local
1214 mdb_nhconvert(&sport, &udph->uh_sport, sizeof (sport)); in udphdr_print()
1220 mdb_printf("%5hu (0x%04x) %5hu (0x%04x) %5hu 0x%04hx\n\n", sport, sport, in udphdr_print()
1244 in_port_t sport, dport; in sctphdr_print() local
1247 mdb_nhconvert(&sport, &sctph->sh_sport, sizeof (sport)); in sctphdr_print()
1252 mdb_printf("%5hu (0x%04x) %5hu (0x%04x) %10u 0x%08x\n\n", sport, sport, in sctphdr_print()
/titanic_41/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dmessage.c144 rdsv3_message_populate_header(struct rdsv3_header *hdr, uint16_be_t sport, in rdsv3_message_populate_header() argument
148 hdr->h_sport = sport; in rdsv3_message_populate_header()
/titanic_41/usr/src/uts/common/io/cxgbe/t4nex/
H A Doffload.h143 __be16 sport; member
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/
H A Dipgpc.types40 filter sport port
/titanic_41/usr/src/cmd/fs.d/autofs/
H A Dautod_parse.c1475 char *sport; local
1487 sport = strchr(host, ':');
1489 if (sport != NULL && sport < path) {
1490 *sport = '\0';
1491 mfs->mfs_port = atoi(sport+1);

12