Searched refs:sport (Results 1 - 18 of 18) sorted by relevance

/external/tcpdump/
H A Dprint-udp.c303 udpipaddr_print(const struct ip *ip, int sport, int dport) argument
315 if (sport == -1) {
322 udpport_string(sport),
327 if (sport != -1) {
329 udpport_string(sport),
337 if (sport == -1) {
344 udpport_string(sport),
349 if (sport != -1) {
351 udpport_string(sport),
366 u_int16_t sport, dpor local
[all...]
H A Dprint-tcp.c160 u_int16_t sport, dport, win, urp; local
185 sport = EXTRACT_16BITS(&tp->th_sport);
195 tcpport_string(sport),
200 tcpport_string(sport), tcpport_string(dport));
208 tcpport_string(sport),
213 tcpport_string(sport), tcpport_string(dport));
260 if (sport > dport)
262 else if (sport == dport) {
269 tha.port = dport << 16 | sport;
273 tha.port = sport << 1
[all...]
H A Dprint-dccp.c176 u_short sport, dport; local
201 sport = EXTRACT_16BITS(&dh->dccph_sport);
208 ip6addr_string(&ip6->ip6_src), sport,
214 ipaddr_string(&ip->ip_src), sport,
H A Dprint-pgm.c164 u_int16_t sport, dport; local
208 sport = EXTRACT_16BITS(&pgm->pgm_sport);
216 tcpport_string(sport),
221 tcpport_string(sport), tcpport_string(dport));
229 tcpport_string(sport),
234 tcpport_string(sport), tcpport_string(dport));
H A Dprint-rx.c449 rx_print(register const u_char *bp, int length, int sport, int dport, argument
556 sport, &opcode)) {
558 switch (sport) {
631 rx_cache_find(const struct rx_header *rxh, const struct ip *ip, int sport, argument
648 rxent->dport == sport) {
/external/kernel-headers/original/uapi/linux/netfilter_bridge/
H A Debt_ip.h10 * added ip-sport and ip-dport
40 __u16 sport[2]; member in struct:ebt_ip_info
H A Debt_ip6.h41 __u16 sport[2]; member in union:ebt_ip6_info::__anon22443
/external/libnl/etc/
H A Dpktloc25 tcp.sport u16 tcp+0
41 udp.sport u16 tcp+0
/external/ipsec-tools/src/racoon/
H A Dnattraversal.h71 u_int16_t sport; member in struct:ph2natt
/external/iproute2/ip/
H A Dipxfrm.c478 fprintf(fp, "sport %u ", ntohs(sel->sport));
484 /* type/code is stored at sport/dport in selector */
486 fprintf(fp, "type %u ", ntohs(sel->sport));
493 (((__u32)ntohs(sel->sport)) << 16) +
498 fprintf(fp, "type %u ", ntohs(sel->sport));
760 fprintf(fp, "sport %u ", ntohs(e->encap_sport));
1178 } else if (strcmp(*argv, "sport") == 0) {
1183 if (get_u16(&sel->sport, *argv, 0))
1185 sel->sport
[all...]
H A Dxfrm_policy.c77 fprintf(stderr, " } [ sport PORT ] [ dport PORT ] |\n");
438 if ((xpinfo->sel.sport^filter.xpinfo.sel.sport)&filter.upspec_sport_mask)
/external/ipsec-tools/src/libipsec/
H A Dpfkey_dump.c500 u_int16_t sport = 0, dport = 0; local
541 sport = 0; /*XXX*/
543 sport = atoi(pbuf);
547 (u_int)sport,
582 str_upperspec((u_int)m_saddr->sadb_address_proto, (u_int)sport,
/external/chromium_org/third_party/usrsctp/usrsctplib/
H A Duser_socket.c2358 uint16_t sport = 0; local
2387 if (sport) {
2389 if (sport != sin->sin_port) {
2395 sport = sin->sin_port;
2414 if (sport) {
2416 if (sport != sin6->sin6_port) {
2422 sport = sin6->sin6_port;
2482 if ((i == 0) && (sport != 0)) {
2487 sin->sin_port = sport;
2493 sin6->sin6_port = sport;
[all...]
/external/iproute2/include/linux/
H A Drtnetlink.h394 __u16 sport; member in struct:rta_session::__anon21541::__anon21542
H A Dxfrm.h51 __be16 sport; member in struct:xfrm_selector
/external/kernel-headers/original/uapi/linux/
H A Dxfrm.h51 __be16 sport; member in struct:xfrm_selector
H A Drtnetlink.h408 __u16 sport; member in struct:rta_session::__anon22543::__anon22544
/external/libnl/include/linux/
H A Drtnetlink.h385 __u16 sport; member in struct:rta_session::__anon23684::__anon23685

Completed in 267 milliseconds