/freebsd-10.0-release/contrib/ofed/management/libibmad/src/ |
H A D | mad.c | 171 mad_build_pkt(void *umad, ib_rpc_t *rpc, ib_portid_t *dport, argument 181 umad_set_addr(umad, dport->lid, dport->qp, dport->sl, dport->qkey); 183 umad_set_addr(umad, dport->lid, dport->qp, 0, 0); 184 else if ((dport->drpath.drslid != 0xffff) && (dport->lid > 0)) 185 umad_set_addr(umad, dport [all...] |
H A D | rpc.c | 173 mad_rpc(const void *port_id, ib_rpc_t *rpc, ib_portid_t *dport, void *payload, argument 183 if ((len = mad_build_pkt(sndbuf, rpc, dport, 0, payload)) < 0) 189 IBWARN("_do_madrpc failed; dport (%s)", portid2str(dport)); 196 ERRS("MAD completed with error status 0x%x; dport (%s)", 197 status, portid2str(dport)); 213 mad_rpc_rmpp(const void *port_id, ib_rpc_t *rpc, ib_portid_t *dport, argument 224 if ((len = mad_build_pkt(sndbuf, rpc, dport, rmpp, data)) < 0) 230 IBWARN("_do_madrpc failed; dport (%s)", portid2str(dport)); 271 madrpc(ib_rpc_t *rpc, ib_portid_t *dport, void *payload, void *rcvdata) argument 281 madrpc_rmpp(ib_rpc_t *rpc, ib_portid_t *dport, ib_rmpp_hdr_t *rmpp, void *data) argument [all...] |
H A D | serv.c | 54 mad_send(ib_rpc_t *rpc, ib_portid_t *dport, ib_rmpp_hdr_t *rmpp, void *data) argument 63 if (mad_build_pkt(umad, rpc, dport, rmpp, data) < 0)
|
/freebsd-10.0-release/contrib/tcpdump/ |
H A D | print-udp.c | 305 udpipaddr_print(const struct ip *ip, int sport, int dport) argument 326 udpport_string(dport)); 332 udpport_string(dport)); 348 udpport_string(dport)); 354 udpport_string(dport)); 368 u_int16_t sport, dport, ulen; local 391 dport = EXTRACT_16BITS(&up->uh_dport); 394 udpipaddr_print(ip, sport, dport); 401 udpipaddr_print(ip, sport, dport); 408 udpipaddr_print(ip, sport, dport); [all...] |
H A D | print-tcp.c | 145 u_int16_t sport, dport, win, urp; local 170 dport = EXTRACT_16BITS(&tp->th_dport); 195 if (dport == NFS_PORT && 217 tcpport_string(dport)); 220 tcpport_string(sport), tcpport_string(dport)); 230 tcpport_string(dport)); 233 tcpport_string(sport), tcpport_string(dport)); 278 if (sport > dport) 280 else if (sport == dport) { 287 tha.port = dport << 1 [all...] |
H A D | print-dccp.c | 176 u_short sport, dport; local 202 dport = EXTRACT_16BITS(&dh->dccph_dport); 209 ip6addr_string(&ip6->ip6_dst), dport); 215 ipaddr_string(&ip->ip_dst), dport);
|
H A D | print-icmp.c | 349 u_int hlen, dport, mtu, obj_tlen, obj_class_num, obj_ctype; local 389 dport = EXTRACT_16BITS(&ouh->uh_dport); 396 tcpport_string(dport)); 403 udpport_string(dport)); 410 oip->ip_p, dport);
|
H A D | print-pgm.c | 164 u_int16_t sport, dport; local 209 dport = EXTRACT_16BITS(&pgm->pgm_dport); 218 tcpport_string(dport)); 221 tcpport_string(sport), tcpport_string(dport)); 231 tcpport_string(dport)); 234 tcpport_string(sport), tcpport_string(dport));
|
/freebsd-10.0-release/contrib/ofed/management/infiniband-diags/src/ |
H A D | mcm_rereg_test.c | 88 static void build_mcm_rec_umad(void *umad, ib_portid_t *dport, int method, argument 102 mad_build_pkt(umad, &rpc, dport, NULL, data); 105 static int rereg_send(int port, int agent, ib_portid_t *dport, argument 113 build_mcm_rec_umad(umad, dport, method, comp_mask, data); 124 static int rereg_port_gid(int port, int agent, ib_portid_t *dport, argument 132 build_mcm_rec_umad(umad, dport, IB_MAD_METHOD_DELETE, 141 build_mcm_rec_umad(umad, dport, IB_MAD_METHOD_SET, 159 static int rereg_send_all(int port, int agent, ib_portid_t *dport, argument 175 ret = rereg_port_gid(port, agent, dport, umad, len, list[i].gid); 193 static int rereg_mcm_rec_send(int port, int agent, ib_portid_t *dport, in 220 rereg_recv(int port, int agent, ib_portid_t *dport, uint8_t *umad, int length, int tmo) argument 243 rereg_recv_all(int port, int agent, ib_portid_t *dport, struct guid_trid *list, unsigned cnt) argument 298 rereg_query_all(int port, int agent, ib_portid_t *dport, struct guid_trid *list, unsigned cnt) argument 382 rereg_and_test_port(char *guid_file, int port, int agent, ib_portid_t *dport, int timeout) argument [all...] |
/freebsd-10.0-release/sys/netinet/libalias/ |
H A D | alias_dummy.c | 70 if (ah->dport == NULL || ah->sport == NULL || ah->lnk == NULL || 77 if (ntohs(*ah->dport) == 123
|
H A D | alias_mod.h | 70 uint16_t *sport, *dport; /* Source & destination port */ member in struct:alias_data
|
H A D | alias_smedia.c | 138 if (ah->dport != NULL && ah->aport != NULL && ah->sport != NULL && 139 ntohs(*ah->dport) == TFTP_PORT_NUMBER) 141 if (ah->dport == NULL || ah->sport == NULL || ah->lnk == NULL || 144 if (ntohs(*ah->dport) == RTSP_CONTROL_PORT_NUMBER_1 146 || ntohs(*ah->dport) == RTSP_CONTROL_PORT_NUMBER_2 156 if (ntohs(*ah->dport) == TFTP_PORT_NUMBER)
|
H A D | alias_cuseeme.c | 70 if (ah->dport == NULL || ah->oaddr == NULL) 72 if (ntohs(*ah->dport) == CUSEEME_PORT_NUMBER)
|
H A D | alias_irc.c | 99 if (ah->dport == NULL || ah->dport == NULL || ah->lnk == NULL || 102 if (ntohs(*ah->dport) == IRC_CONTROL_PORT_NUMBER_1 103 || ntohs(*ah->dport) == IRC_CONTROL_PORT_NUMBER_2)
|
H A D | alias_ftp.c | 112 if (ah->dport == NULL || ah->sport == NULL || ah->lnk == NULL || 115 if (ntohs(*ah->dport) == FTP_CONTROL_PORT_NUMBER || 125 if (ah->dport == NULL || ah->sport == NULL || ah->lnk == NULL) 127 if (ntohs(*ah->dport) == FTP_CONTROL_PORT_NUMBER ||
|
/freebsd-10.0-release/contrib/ipfilter/ipsd/ |
H A D | ipsdr.c | 89 int findhit(ihp, src, dport) 92 u_short dport; 122 int detect(srcip, dport, date) 124 u_short dport; 132 k = dport - defports[i]; 135 if (findhit(ihp, srcip, dport))
|
H A D | ipsd.c | 79 int findhit(ihp, src, dport) 82 u_short dport;
|
/freebsd-10.0-release/libexec/bootpd/tools/bootptest/ |
H A D | print-bootp.c | 56 bootp_print(bp, length, sport, dport) 59 u_short sport, dport; 80 if (sport != IPPORT_BOOTPC || dport != IPPORT_BOOTPS) 86 if (sport != IPPORT_BOOTPS || dport != IPPORT_BOOTPC)
|
/freebsd-10.0-release/sys/contrib/ipfilter/netinet/ |
H A D | ip_nat6.c | 469 u_short st_port, dport, sport, port, sp, dp; local 490 dport = 0; 493 dport = htons(fin->fin_data[1]); 718 nat->nat_odport = dport; 719 nat->nat_ndport = dport; 750 u_short nport, dport, sport; local 769 dport = fin->fin_data[1]; 773 dport = htons(fin->fin_data[1]); 776 /* TRACE sport, dport */ 789 &fin->fin_dst6, &in, (u_32_t)dport); 1916 u_short sport, dport; local 2238 u_short sport, dport; local 3026 u_short dport; local [all...] |
/freebsd-10.0-release/sys/netpfil/pf/ |
H A D | pf_lb.c | 125 struct pf_addr *daddr, uint16_t dport, int rs_num, 174 dst->port[1], dport)) 213 uint16_t dport, struct pf_addr *naddr, uint16_t *nport, uint16_t low, 232 key.port[0] = dport; 505 uint16_t sport, uint16_t dport, struct pf_anchor_stackframe *anchor_stack) 517 sport, daddr, dport, PF_RULESET_BINAT, anchor_stack); 520 saddr, sport, daddr, dport, PF_RULESET_NAT, 524 sport, daddr, dport, PF_RULESET_RDR, anchor_stack); 527 saddr, sport, daddr, dport, PF_RULESET_BINAT, 541 *skp = pf_state_key_setup(pd, saddr, daddr, sport, dport); 123 pf_match_translation(struct pf_pdesc *pd, struct mbuf *m, int off, int direction, struct pfi_kif *kif, struct pf_addr *saddr, u_int16_t sport, struct pf_addr *daddr, uint16_t dport, int rs_num, struct pf_anchor_stackframe *anchor_stack) argument 211 pf_get_sport(sa_family_t af, u_int8_t proto, struct pf_rule *r, struct pf_addr *saddr, uint16_t sport, struct pf_addr *daddr, uint16_t dport, struct pf_addr *naddr, uint16_t *nport, uint16_t low, uint16_t high, struct pf_src_node **sn) argument 501 pf_get_translation(struct pf_pdesc *pd, struct mbuf *m, int off, int direction, struct pfi_kif *kif, struct pf_src_node **sn, struct pf_state_key **skp, struct pf_state_key **nkp, struct pf_addr *saddr, struct pf_addr *daddr, uint16_t sport, uint16_t dport, struct pf_anchor_stackframe *anchor_stack) argument [all...] |
/freebsd-10.0-release/lib/libipsec/ |
H A D | pfkey_dump.c | 376 u_int16_t sport = 0, dport = 0; local 422 dport = 0; /*XXX*/ 424 dport = atoi(pbuf); 427 m_daddr->sadb_address_prefixlen, dport, 441 str_upperspec(m_saddr->sadb_address_proto, sport, dport);
|
/freebsd-10.0-release/usr.sbin/ppp/ |
H A D | ip.c | 220 u_short sport, dport; /* src, dest port from packet if (gotinfo) */ local 280 sport = dport = 0; 309 sport = dport = 0; 355 dport = ntohs(uh->uh_dport); 357 snprintf(dbuff, sizeof dbuff, "sport = %d, dport = %d", 358 sport, dport); 373 dport = ntohs(th->th_dport); 380 "flags = %02x, sport = %d, dport = %d", 381 th->th_flags, sport, dport); 432 PortMatch(fp->f_dstop, dport, f [all...] |
/freebsd-10.0-release/sys/net/ |
H A D | flowtable.c | 507 uint16_t sport, dport; local 509 proto = sport = dport = 0; 531 dport = th->th_dport; 539 dport = uh->uh_dport; 544 dport = sh->dest_port; 557 dsin->sin_port = dport; 566 uint16_t sport, dport; local 573 sport = dport = key[2] = key[1] = key[0] = 0; 580 dport = dsin->sin_port; 584 ((uint16_t *)key)[1] = dport; 770 uint16_t sport, dport; local 1698 uint16_t sport, dport; local [all...] |
/freebsd-10.0-release/contrib/ofed/management/libibmad/include/infiniband/ |
H A D | mad.h | 691 int mad_build_pkt(void *umad, ib_rpc_t *rpc, ib_portid_t *dport, ib_rmpp_hdr_t *rmpp, void *data); 703 int mad_send(ib_rpc_t *rpc, ib_portid_t *dport, ib_rmpp_hdr_t *rmpp, 730 void * madrpc(ib_rpc_t *rpc, ib_portid_t *dport, void *payload, void *rcvdata); 731 void * madrpc_rmpp(ib_rpc_t *rpc, ib_portid_t *dport, ib_rmpp_hdr_t *rmpp, 743 void * mad_rpc(const void *ibmad_port, ib_rpc_t *rpc, ib_portid_t *dport, 745 void * mad_rpc_rmpp(const void *ibmad_port, ib_rpc_t *rpc, ib_portid_t *dport,
|
/freebsd-10.0-release/sys/dev/cxgb/ |
H A D | cxgb_ioctl.h | 159 uint16_t dport; member in struct:ch_trace 225 uint16_t dport; member in struct:ch_filter_tuple
|