Searched refs:src_port (Results 1 - 25 of 38) sorted by relevance

12

/freebsd-10-stable/sys/netinet/libalias/
H A Dalias_db.c294 u_short src_port; member in struct:alias_link
433 u_short src_port, u_short dst_port, int link_type)
440 n += src_port;
611 port_net = lnk->src_port;
735 u_short src_port,
775 port_sys = ntohs(src_port);
935 struct in_addr alias_addr, u_short src_port, u_short dst_port,
950 lnk->src_port = src_port;
1051 src_port, dst_por
432 StartPointOut(struct in_addr src_addr, struct in_addr dst_addr, u_short src_port, u_short dst_port, int link_type) argument
732 FindNewPortGroup(struct libalias *la, struct in_addr dst_addr, struct in_addr alias_addr, u_short src_port, u_short dst_port, u_short port_count, u_char proto, u_char align) argument
934 AddLink(struct libalias *la, struct in_addr src_addr, struct in_addr dst_addr, struct in_addr alias_addr, u_short src_port, u_short dst_port, int alias_port_param, int link_type) argument
1070 ReLink(struct alias_link *old_lnk, struct in_addr src_addr, struct in_addr dst_addr, struct in_addr alias_addr, u_short src_port, u_short dst_port, int alias_port_param, int link_type) argument
1099 _FindLinkOut(struct libalias *la, struct in_addr src_addr, struct in_addr dst_addr, u_short src_port, u_short dst_port, int link_type, int replace_partial_links) argument
1148 FindLinkOut(struct libalias *la, struct in_addr src_addr, struct in_addr dst_addr, u_short src_port, u_short dst_port, int link_type, int replace_partial_links) argument
1269 u_short src_port; local
1539 FindUdpTcpOut(struct libalias *la, struct in_addr src_addr, struct in_addr dst_addr, u_short src_port, u_short dst_port, u_char proto, int create) argument
1674 FindRtspOut(struct libalias *la, struct in_addr src_addr, struct in_addr dst_addr, u_short src_port, u_short alias_port, u_char proto) argument
2267 LibAliasRedirectPort(struct libalias *la, struct in_addr src_addr, u_short src_port, struct in_addr dst_addr, u_short dst_port, struct in_addr alias_addr, u_short alias_port, u_char proto) argument
[all...]
H A Dalias_sctp.c965 sctp_hdr->src_port = sm->sctp_hdr->src_port;
970 sctp_hdr->src_port = sm->sctp_hdr->dest_port;
971 sctp_hdr->dest_port = sm->sctp_hdr->src_port;
1055 if (sctp_hdr->src_port == 0 || sctp_hdr->dest_port == 0)
1074 *passoc = FindSctpGlobalT(la, pip->ip_src, sctp_hdr->v_tag, sctp_hdr->dest_port, sctp_hdr->src_port);
1076 *passoc = FindSctpLocalT(la, pip->ip_dst, sctp_hdr->v_tag, sctp_hdr->dest_port, sctp_hdr->src_port);
1080 *passoc = FindSctpGlobal(la, pip->ip_src, sctp_hdr->v_tag, sctp_hdr->src_port, sctp_hdr->dest_port, &partial_match);
1082 *passoc = FindSctpLocal(la, pip->ip_src, pip->ip_dst, sctp_hdr->v_tag, sctp_hdr->src_port, sctp_hdr->dest_port);
1148 *passoc = FindSctpGlobal(la, ipv4addr, sctp_hdr->v_tag, sctp_hdr->src_port, sctp_hd
[all...]
H A Dalias_local.h256 struct in_addr alias_addr, u_short src_port, u_short dst_port,
/freebsd-10-stable/sys/boot/arm/at91/libat91/
H A Demac.h95 unsigned short src_port; member in struct:__anon6285
H A Demac.c143 udpHdr->src_port = localPort;
317 serverPort = udpHdr->src_port;
321 if (serverPort != udpHdr->src_port)
/freebsd-10-stable/sys/netpfil/ipfw/
H A Dip_fw_dynamic.c243 (id->dst_port) ^ (id->src_port);
263 i = (id->dst_ip) ^ (id->src_ip) ^ (id->dst_port) ^ (id->src_port);
295 prefix, dyn_type, src, id->src_port, dst,
334 pkt->src_port == q->id.src_port &&
341 pkt->src_port == q->id.dst_port &&
342 pkt->dst_port == q->id.src_port) {
349 pkt->src_port == q->id.src_port &&
356 pkt->src_port
[all...]
H A Dip_fw2.c671 dst_ip, dst_port, src_ip, src_port,
721 &id->src_ip6, htons(id->src_port),
727 &id->src_ip6, htons(id->src_port),
738 src_ip, htons(id->src_port),
744 src_ip, htons(id->src_port),
939 * src_port, dst_port port numbers, in HOST format. Only
946 uint16_t src_port = 0, dst_port = 0; /* NOTE: host format */ local
1033 src_port = TCP(ulp)->th_sport;
1040 src_port = SCTP(ulp)->src_port;
[all...]
H A Dip_dummynet.c173 id->src_port &= mask->src_port;
194 dst->src_port |= src->src_port;
217 if (m->dst_port || m->src_port || m->proto || m->extra)
252 (id->dst_port << 1) ^ (id->src_port) ^
259 (id->dst_port << 1) ^ (id->src_port) ^ (id->proto);
277 id1->src_port == id2->src_port &&
286 id1->src_port
[all...]
/freebsd-10-stable/sys/ofed/drivers/net/mlx4/
H A Den_netdev.c97 __be16 src_port; member in struct:mlx4_en_filter
137 .src_port = filter->src_port,
201 __be16 src_port, __be16 dst_port)
206 l = (__force unsigned long)src_port |
217 __be32 dst_ip, u8 ip_proto, __be16 src_port,
233 filter->src_port = src_port;
242 filter_hash_bucket(priv, src_ip, dst_ip, src_port,
264 u8 ip_proto, __be16 src_port, __be1
200 filter_hash_bucket(struct mlx4_en_priv *priv, __be32 src_ip, __be32 dst_ip, __be16 src_port, __be16 dst_port) argument
216 mlx4_en_filter_alloc(struct mlx4_en_priv *priv, int rxq_index, __be32 src_ip, __be32 dst_ip, u8 ip_proto, __be16 src_port, __be16 dst_port, u32 flow_id) argument
263 mlx4_en_filter_find(struct mlx4_en_priv *priv, __be32 src_ip, __be32 dst_ip, u8 ip_proto, __be16 src_port, __be16 dst_port) argument
298 __be16 src_port; local
[all...]
H A Dmcg.c854 rule_hw->tcp_udp.src_port = spec->tcp_udp.src_port;
906 if (cur->tcp_udp.src_port)
909 be16_to_cpu(cur->tcp_udp.src_port));
/freebsd-10-stable/sbin/ipfw/
H A Ddummynet.c400 id->src_ip, id->src_port,
408 printf("%s/0x%04x -> ", buf, id->src_port);
451 inet_ntoa(ina), id->src_port);
463 id->src_port);
1440 * src_ip, src_port, proto measured in bits
1464 mask->src_port = ~0;
1507 p16 = &mask->src_port;
/freebsd-10-stable/sys/ofed/include/rdma/
H A Dib_user_verbs.h606 __be16 src_port; member in struct:ibv_uverbs_flow_spec
709 __be16 src_port; member in struct:ibv_kern_flow_spec
/freebsd-10-stable/sys/boot/i386/libi386/
H A Dpxe.h435 UDP_PORT_t src_port; /* source udp port */ member in struct:__anon6452
H A Dpxe.c646 udpwrite_p->src_port = h->myport;
/freebsd-10-stable/sys/netinet/
H A Dip_fw.h537 uint16_t src_port; member in struct:ipfw_flow_id
H A Dsctp.h49 uint16_t src_port; /* source port */ member in struct:sctphdr
/freebsd-10-stable/sys/dev/ixgbe/
H A Dixgbe_82599.c1672 mask |= IXGBE_NTOHS(input_mask->formatted.src_port);
1734 input_mask->formatted.src_port) {
1899 fdirport |= IXGBE_NTOHS(input->formatted.src_port);
2021 if (input->formatted.dst_port || input->formatted.src_port) {
2028 if (input->formatted.dst_port || input->formatted.src_port) {
/freebsd-10-stable/contrib/traceroute/
H A Dtraceroute.c1493 sctp->src_port = htons(ident);
1495 sctp->v_tag = (sctp->src_port << 16) | sctp->dest_port;
1522 return (ntohs(sctp->src_port) == ident
1525 (u_int32_t)((sctp->src_port << 16) | sctp->dest_port));
/freebsd-10-stable/sys/net/
H A Dflowtable.c235 sport = sh->src_port;
339 dport = SCTP(ulp)->src_port;
/freebsd-10-stable/sys/netinet6/
H A Dsctp6_usrreq.c127 src.sin6_port = sh->src_port;
404 ip6cp->ip6c_src->sin6_port = sh.src_port;
/freebsd-10-stable/sbin/pfctl/
H A Dparse.y4858 struct node_host *src_host, struct node_port *src_port,
4865 expand_label_port("$srcport", label, len, src_port);
5158 LOOP_THROUGH(struct node_port, src_port, src_ports,
5203 src_host, src_port, dst_host, dst_port, proto->proto);
5205 src_host, src_port, dst_host, dst_port, proto->proto);
5207 r->af, src_host, src_port, dst_host, dst_port,
5217 r->src.port[0] = src_port->port[0];
5218 r->src.port[1] = src_port->port[1];
5219 r->src.port_op = src_port->op;
/freebsd-10-stable/crypto/heimdal/lib/roken/
H A Dsocket_wrapper.c791 unsigned short src_port = src_addr->sin_port; local
866 src_port = dest_addr->sin_port;
872 packet->ip.p.tcp.source_port = src_port;
/freebsd-10-stable/sys/ofed/include/linux/mlx4/
H A Ddevice.h1137 __be16 src_port; member in struct:mlx4_spec_tcp_udp
1233 __be16 src_port; member in struct:mlx4_net_trans_rule_hw_tcp_udp
/freebsd-10-stable/sys/dev/vxge/
H A Dvxge.c2490 u16 etype, src_port, dst_port; local
2493 src_port = dst_port = 0;
2530 src_port = th->th_sport;
2535 src_port = uh->uh_sport;
2543 counter = (ntohs(src_port) + ntohs(dst_port)) &
/freebsd-10-stable/sys/ofed/drivers/infiniband/hw/mlx4/
H A Dmain.c1050 spec_l4->tcp_udp.src_port = flow_spec->src_port;
1052 if (spec_l4->tcp_udp.src_port)

Completed in 199 milliseconds

12