Home
last modified time | relevance | path

Searched refs:src_ip (Results 1 – 22 of 22) sorted by relevance

/external/u-boot/net/
Dping.c85 struct in_addr src_ip; in ping_receive() local
90 src_ip = net_read_ip((void *)&ip->ip_src); in ping_receive()
91 if (src_ip.s_addr == net_ping_ip.s_addr) in ping_receive()
Dnet.c1026 struct in_addr src_ip, struct ethernet_hdr *et) in receive_icmp() argument
1044 ntohs(ip->udp_dst), src_ip, in receive_icmp()
1057 struct in_addr src_ip; in net_process_received_packet() local
1201 src_ip = net_read_ip(&ip->ip_src); in net_process_received_packet()
1232 receive_icmp(ip, len, src_ip, et); in net_process_received_packet()
1240 &dst_ip, &src_ip, len); in net_process_received_packet()
1286 src_ip, in net_process_received_packet()
1296 src_ip, in net_process_received_packet()
/external/iptables/extensions/
Dlibarpt_mangle.c67 mangle->u_s.src_ip.s_addr = ipaddr->s_addr; in arpmangle_parse()
152 xtables_ipaddr_to_numeric(&(m->u_s.src_ip))); in arpmangle_print()
155 xtables_ipaddr_to_anyname(&(m->u_s.src_ip))); in arpmangle_print()
Dlibxt_mangle.c209 mangle->u_s.src_ip.s_addr = ipaddr->s_addr; in mangle_parse()
344 sprintf(buf, "%s", addr_to_dotted(&(m->u_s.src_ip))); in mangle_print()
346 sprintf(buf, "%s", addr_to_anyname(&(m->u_s.src_ip))); in mangle_print()
/external/bcc/examples/networking/
Dtc_perf_event.py57 src_ip = bytes(bytearray(skb_event.raw[22:38]))
60 (cpu, socket.inet_ntop(socket.AF_INET6, src_ip),
/external/bcc/examples/networking/http_filter/
Dhttp-parse-complete.c9 u32 src_ip; //source ip member
77 key.src_ip = ip->src; in http_filter()
/external/toybox/toys/pending/
Dtraceroute.c55 char *src_ip;
585 if (!inet_aton(TT.src_ip, &(source.sin_addr))) in traceroute_main()
586 error_exit("bad address: %s", TT.src_ip); in traceroute_main()
607 if(inet_pton(AF_INET6, TT.src_ip, &(source.sin6_addr)) <= 0) in traceroute_main()
608 error_exit("bad address: %s", TT.src_ip); in traceroute_main()
637 if (toys.optflags & FLAG_s) xprintf(" from %s",TT.src_ip); in traceroute_main()
Darping.c39 char *src_ip;
231 if ((toys.optflags & FLAG_s) && !(inet_aton(TT.src_ip, &src_addr))) in arping_main()
232 perror_exit("invalid source address '%s'",TT.src_ip); in arping_main()
/external/linux-kselftest/tools/testing/selftests/net/forwarding/
Dtc_flower.sh125 $tcflags src_ip 198.51.100.1 action drop
127 $tcflags src_ip 192.0.2.1 action drop
129 $tcflags src_ip 192.0.2.0/24 action drop
/external/kernel-headers/original/uapi/linux/netfilter_arp/
Darpt_mangle.h12 struct in_addr src_ip; member
/external/iptables/include/linux/netfilter_arp/
Darpt_mangle.h11 struct in_addr src_ip; member
/external/u-boot/drivers/net/
Dnetconsole.c134 int nc_input_packet(uchar *pkt, struct in_addr src_ip, unsigned dest_port, in nc_input_packet() argument
142 if (src_ip.s_addr != nc_ip.s_addr && !is_broadcast(nc_ip)) in nc_input_packet()
/external/iputils/
Darping.c381 struct in_addr src_ip, dst_ip; in recv_pack() local
410 memcpy(&src_ip, p+ah->ar_hln, 4); in recv_pack()
413 if (src_ip.s_addr != dst.s_addr) in recv_pack()
433 if (src_ip.s_addr != dst.s_addr) in recv_pack()
444 printf("%s [", inet_ntoa(src_ip)); in recv_pack()
/external/syzkaller/sys/linux/
Dnetfilter_arp.txt114 src_ip ipv4_addr
Dvnet.txt457 src_ip ipv4_addr
681 src_ip ipv6_addr
1001 src_ip ipv4_addr
1169 src_ip ipv6_addr
/external/toybox/generated/
Dglobals.h448 char *src_ip; member
896 char *src_ip; member
/external/syzkaller/sys/test/
Dtest.txt536 src_ip int32be
555 src_ip array[int8, 16]
/external/kernel-headers/original/uapi/rdma/
Dib_user_verbs.h930 __be32 src_ip; member
970 __u8 src_ip[16]; member
/external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dtc_flower.sh196 flower $tcflags dst_ip 192.0.2.2/${i} src_ip 192.0.2.1 \
/external/u-boot/include/
Dnet.h681 int nc_input_packet(uchar *pkt, struct in_addr src_ip, unsigned dest_port,
/external/tcpdump/
Dprint-juniper.c514 uint8_t src_ip[4]; in juniper_es_print() member
558 ipaddr_string(ndo, &ih->src_ip), in juniper_es_print()
/external/iproute2/bash-completion/
Dtc458 ip_proto dst_ip src_ip dst_port src_port'