| /src/external/bsd/ipf/dist/ipsend/ |
| ipsend.h | 41 extern int send_ip __P((int, int, ip_t *, struct in_addr, int)); 42 extern int send_tcp __P((int, int, ip_t *, struct in_addr)); 43 extern int send_udp __P((int, int, ip_t *, struct in_addr)); 44 extern int send_icmp __P((int, int, ip_t *, struct in_addr)); 45 extern int send_packet __P((int, int, ip_t *, struct in_addr)); 46 extern int send_packets __P((char *, int, ip_t *, struct in_addr)); 59 extern void ip_test1 __P((char *, int, ip_t *, struct in_addr, int)); 60 extern void ip_test2 __P((char *, int, ip_t *, struct in_addr, int)); 61 extern void ip_test3 __P((char *, int, ip_t *, struct in_addr, int)); 62 extern void ip_test4 __P((char *, int, ip_t *, struct in_addr, int)) [all...] |
| iptest.c | 93 ip_t *ip; 102 ip = (ip_t *)calloc(1, 65536); 187 ip_test1(dev, mtu, (ip_t *)ti, gwip, pointtest); 190 ip_test2(dev, mtu, (ip_t *)ti, gwip, pointtest); 193 ip_test3(dev, mtu, (ip_t *)ti, gwip, pointtest); 196 ip_test4(dev, mtu, (ip_t *)ti, gwip, pointtest); 199 ip_test5(dev, mtu, (ip_t *)ti, gwip, pointtest); 202 ip_test6(dev, mtu, (ip_t *)ti, gwip, pointtest); 205 ip_test7(dev, mtu, (ip_t *)ti, gwip, pointtest); 208 ip_test1(dev, mtu, (ip_t *)ti, gwip, pointtest) [all...] |
| ipsend.c | 65 static void do_icmp __P((ip_t *, char *)); 66 void udpcksum(ip_t *, struct udphdr *, int); 100 ip_t *ip; 153 ip_t *ip; 165 udpcksum(ip_t *ip, struct udphdr *udp, int len) 204 ip_t *ip; 213 ip = (ip_t *)calloc(1, 65536); 389 ip = (ip_t *)p;
|
| ip.c | 91 ip_t *ip; 100 ip_t ipsv; 252 ip_t *ip; 259 ip_t *ip2; 265 t2 = (tcphdr_t *)((char *)ip2 + sizeof(ip_t)); 293 t2->th_sum = chksum((u_short *)ip2, thlen + sizeof(ip_t)); 305 ip_t *ip; 324 ti->ti_sum = chksum((u_short *)ti, thlen + sizeof(ip_t)); 337 ip_t *ip; 353 ip_t *ip [all...] |
| resend.c | 38 void dumppacket __P((ip_t *)); 42 ip_t *ip; 80 ip_t *ip;
|
| iptests.c | 131 ip_t *ip; 482 ip_t *ip; 578 ip_t *ip; 779 ip_t *ip; 924 * Test 5: sizeof(ip_t) <= MTU <= sizeof(udphdr_t) + 925 * sizeof(ip_t) 944 ip_t *ip; 968 ip->ip_len = sizeof(ip_t) + sizeof(tcphdr_t); 1156 ip->ip_len = sizeof(ip_t) + sizeof(tcphdr_t) + 1; 1168 ip->ip_len = sizeof(ip_t) + sizeof(tcphdr_t) [all...] |
| lsock.c | 255 if (send_tcp(nfd, mtu, (ip_t *)ti, gwip) == -1)
|
| /src/external/bsd/ipf/dist/lib/ |
| ipft_hx.c | 66 ip_t *ip; 78 ip = (ip_t *)buf; 132 ip = (ip_t *)readhex(s, (char *)ip);
|
| printpacket.c | 25 ip_t *ip; 27 ip = MTOD(m, ip_t *);
|
| ipft_tx.c | 26 static int parseline __P((char *, ip_t *, char **, int *)); 123 ip_t *ip; 142 if (!parseline(line, (ip_t *)buf, ifn, dir)) { 143 ip = (ip_t *)buf; 164 ip_t *ip; 216 ip->ip_len = sizeof(ip_t);
|
| /src/external/bsd/ipf/dist/iplang/ |
| iplang.h | 33 ip_t *ahu_ip;
|
| iplang_y.y | 77 ip_t *ip = NULL; 694 sz = sizeof(ip_t); 872 ip = (ip_t *)new_header(IPPROTO_IP); 874 ip->ip_hl = sizeof(ip_t) >> 2; 875 ip->ip_len = sizeof(ip_t); 1300 (void) send_ip(ifp->if_fd, ifp->if_MTU, (ip_t *)ipbuffer, gwip, 2); 1656 hlen = sizeof(ip_t) + canip->ah_optlen; 1663 inc = addipopt((char *)ip + hlen, io, hlen - sizeof(ip_t),arg); 1674 canip->ah_optlen = hlen - sizeof(ip_t); 1775 ip_t iptmp [all...] |
| /src/sys/external/bsd/ipf/netinet/ |
| ip_netbios_pxy.c | 80 ip_t *ip;
|
| ip_ftp_pxy.c | 76 int ipf_p_ftp_client(ipf_ftp_softc_t *, fr_info_t *, ip_t *, nat_t *, 83 int ipf_p_ftp_pasv(ipf_ftp_softc_t *, fr_info_t *, ip_t *, nat_t *, 85 int ipf_p_ftp_epsv(ipf_ftp_softc_t *, fr_info_t *, ip_t *, nat_t *, 87 int ipf_p_ftp_port(ipf_ftp_softc_t *, fr_info_t *, ip_t *, nat_t *, 91 int ipf_p_ftp_server(ipf_ftp_softc_t *, fr_info_t *, ip_t *, nat_t *, 99 int ipf_p_ftp_pasvreply(ipf_ftp_softc_t *, fr_info_t *, ip_t *, nat_t *, 101 int ipf_p_ftp_eprt(ipf_ftp_softc_t *, fr_info_t *, ip_t *, nat_t *, 103 int ipf_p_ftp_eprt4(ipf_ftp_softc_t *, fr_info_t *, ip_t *, nat_t *, 105 int ipf_p_ftp_eprt6(ipf_ftp_softc_t *, fr_info_t *, ip_t *, nat_t *, 107 int ipf_p_ftp_addport(ipf_ftp_softc_t *, fr_info_t *, ip_t *, nat_t * [all...] |
| ip_fil_netbsd.c | 177 static int (*ipf_savep)(void *, ip_t *, int, void *, int, struct mbuf **); 189 int (*ipf_checkp)(void *, ip_t *ip, int hlen, void *ifp, int out, mb_t **mp); 741 ip_t *ip; 755 hlen = (fin->fin_v == 6) ? sizeof(ip6_t) : sizeof(ip_t); 757 hlen = sizeof(ip_t); 842 ip_t *oip; 844 ip_t *ip; 847 ip = mtod(m, ip_t *); 918 ip_t *ip, *ip2; 969 hlen = sizeof(ip_t); [all...] |
| ip_ipsec_pxy.c | 145 ip_t *ip; 270 ip_t *ip;
|
| ip_nat.c | 3576 ip_t *oip; 3585 if ((fin->fin_hlen != sizeof(ip_t)) || !(fin->fin_flx & FI_ICMPERR)) { 3593 oip = (ip_t *)((char *)fin->fin_dp + 8); 3595 if ((minlen < sizeof(ip_t)) || 3730 ip_t *oip; 3752 oip = (ip_t *)&icmp->icmp_ip; 5126 ip_t *ip; 5135 ip = MTOD(m, ip_t *); 5159 fin->fin_plen += sizeof(ip_t) + 8; /* UDP + IPv4 hdr */ 5160 fin->fin_dlen += sizeof(ip_t) + 8; /* UDP + IPv4 hdr * [all...] |
| ip_pptp_pxy.c | 122 ip_t *ip; 203 ip_t *ip;
|
| /src/external/bsd/ipf/dist/ipsd/Celler/ |
| ip_compat.h | 177 } ip_t; typedef in typeref:struct:__anon4386 194 typedef struct ip ip_t; typedef in typeref:struct:ip
|
| /src/external/bsd/ipf/dist/ipsd/ |
| sbpf.c | 75 ip_t *ip; 77 ip = (ip_t *)&tip;
|
| slinux.c | 50 ip_t *ip;
|
| sdlpi.c | 67 ip_t *ip; 69 ip = (ip_t *)&tip;
|
| ipsd.c | 113 ip_t *ip;
|
| /src/external/bsd/ipf/dist/ |
| ip_fil.c | 167 ip_t *ip; 171 ip = MTOD(mb, ip_t *); 425 ip_t *ip = fin->fin_ip;
|
| /src/external/bsd/ipf/dist/tools/ |
| ipftest.c | 44 void fixv4sums __P((mb_t *, ip_t *)); 88 ip_t *ip; 220 ip = MTOD(m, ip_t *); 809 ip_t *ip;
|