/freebsd-11-stable/sys/fs/ext2fs/ |
H A D | ext2_inode.c | 111 * Truncate the inode oip to at most length size, freeing the 120 struct inode *oip; local 133 oip = VTOI(ovp); 144 oip->i_size < ovp->v_mount->mnt_maxsymlinklen) { 149 bzero((char *)&oip->i_shortlink, (u_int)oip->i_size); 150 oip->i_size = 0; 151 oip->i_flag |= IN_CHANGE | IN_UPDATE; 154 if (oip->i_size == length) { 155 oip [all...] |
/freebsd-11-stable/tools/tools/tinybsd/conf/firewall/etc/ |
H A D | rc.firewall | 201 oip="192.0.2.1" 265 ${fwcmd} add pass tcp from any to ${oip} 25 setup 268 ${fwcmd} add pass tcp from any to ${oip} 53 setup 269 ${fwcmd} add pass udp from any to ${oip} 53 270 ${fwcmd} add pass udp from ${oip} 53 to any 273 ${fwcmd} add pass tcp from any to ${oip} 80 setup 282 ${fwcmd} add pass udp from ${oip} to any 53 keep-state 285 ${fwcmd} add pass udp from ${oip} to any 123 keep-state
|
/freebsd-11-stable/tools/tools/tinybsd/conf/wireless/etc/ |
H A D | rc.firewall | 201 oip="192.0.2.1" 265 ${fwcmd} add pass tcp from any to ${oip} 25 setup 268 ${fwcmd} add pass tcp from any to ${oip} 53 setup 269 ${fwcmd} add pass udp from any to ${oip} 53 270 ${fwcmd} add pass udp from ${oip} 53 to any 273 ${fwcmd} add pass tcp from any to ${oip} 80 setup 282 ${fwcmd} add pass udp from ${oip} to any 53 keep-state 285 ${fwcmd} add pass udp from ${oip} to any 123 keep-state
|
/freebsd-11-stable/sys/netinet/ |
H A D | ip_icmp.c | 194 struct ip *oip, *nip; local 219 oip = mtod(n, struct ip *); 220 oiphlen = oip->ip_hl << 2; 225 printf("icmp_error(%p, %x, %d)\n", oip, type, code); 227 if (oip->ip_off & htons(~(IP_MF|IP_DF))) 229 if (oip->ip_p == IPPROTO_ICMP && type != ICMP_REDIRECT && 230 !ICMP_INFOTYPE(((struct icmp *)((caddr_t)oip + 242 if (oip->ip_p == IPPROTO_TCP) { 252 oip = mtod(n, struct ip *); 257 if (ntohs(oip [all...] |
/freebsd-11-stable/sys/ufs/ufs/ |
H A D | ufs_lookup.c | 1289 ufs_dirrewrite(dp, oip, newinum, newtype, isrmdir) 1290 struct inode *dp, *oip; 1304 oip->i_effnlink--; 1305 oip->i_flag |= IN_CHANGE; 1307 softdep_setup_unlink(dp, oip); 1309 oip->i_nlink--; 1310 DIP_SET(oip, i_nlink, oip->i_nlink); 1311 oip->i_flag |= IN_CHANGE; 1316 ep->d_name[0] == '.' && ep->d_ino != oip [all...] |
/freebsd-11-stable/contrib/tcpdump/ |
H A D | print-icmp.c | 338 const struct ip *oip; local 380 oip = &dp->icmp_ip; 381 hlen = IP_HL(oip) * 4; 382 ouh = (const struct udphdr *)(((const u_char *)oip) + hlen); 385 switch (oip->ip_p) { 390 ipaddr_string(ndo, &oip->ip_dst), 397 ipaddr_string(ndo, &oip->ip_dst), 404 ipaddr_string(ndo, &oip->ip_dst), 405 oip->ip_p, dport);
|
H A D | print-icmp6.c | 880 const struct ip6_hdr *oip; local 888 oip = (const struct ip6_hdr *)(dp + 1); 923 ND_TCHECK(oip->ip6_dst); 930 ND_PRINT((ndo," %s",ip6addr_string(ndo, &oip->ip6_dst))); 934 ip6addr_string(ndo, &oip->ip6_dst), 935 ip6addr_string(ndo, &oip->ip6_src))); 938 if ((ouh = get_upperlayer(ndo, (const u_char *)oip, &prot)) 946 ip6addr_string(ndo, &oip->ip6_dst), 951 ip6addr_string(ndo, &oip->ip6_dst), 956 ip6addr_string(ndo, &oip [all...] |
/freebsd-11-stable/sys/netpfil/ipfw/nat64/ |
H A D | nat64_translate.c | 739 struct ip *ip, *oip; local 787 oip = mtod(n, struct ip *); 788 oip->ip_v = IPVERSION; 789 oip->ip_hl = sizeof(struct ip) >> 2; 790 oip->ip_tos = 0; 791 oip->ip_len = htons(n->m_pkthdr.len); 792 oip->ip_ttl = V_ip_defttl; 793 oip->ip_p = IPPROTO_ICMP; 794 ip_fillid(oip); 795 oip [all...] |
/freebsd-11-stable/sys/contrib/ipfilter/netinet/ |
H A D | ip_nat.c | 3623 ip_t *oip; local 3642 oip = (ip_t *)((char *)fin->fin_dp + 8); 3643 minlen = IP_HL(oip) << 2; 3665 if ((char *)oip + fin->fin_dlen - ICMPERR_ICMPHLEN > 3671 if ((char *)oip + fin->fin_dlen - ICMPERR_ICMPHLEN > 3680 if (fin->fin_daddr != oip->ip_src.s_addr) { 3685 p = oip->ip_p; 3691 orgicmp = (icmphdr_t *)((char *)oip + (IP_HL(oip) << 2)); 3708 oip 3782 ip_t *oip; local [all...] |
H A D | ip_state.c | 2690 ip_t *oip; local 2708 oip = (ip_t *)((char *)ic + ICMPERR_ICMPHLEN); 2713 if (fin->fin_plen < ICMPERR_MAXPKTLEN + ((IP_HL(oip) - 5) << 2)) { 2722 if ((len <= 0) || ((IP_HL(oip) << 2) > len)) { 2723 DT2(iss_icmp_len, fr_info_t *, fin, struct ip*, oip); 2743 if ((char *)oip + len > (char *)m->b_wptr) { 2748 if ((char *)oip + len > (char *)fin->fin_ip + m->m_len) { 2773 * watch out here, as ip is in host order and oip in network 2775 * oip->ip_len. 2777 savelen = oip [all...] |
H A D | ip_fil_freebsd.c | 446 ip_t *ip, *oip; local 457 oip = fin->fin_ip; 458 hlen = sizeof(*oip); 462 IP_HL_A(ip, sizeof(*oip) >> 2); 463 ip->ip_tos = oip->ip_tos;
|
H A D | fil.c | 1203 ip_t *oip; local 1280 oip = (ip_t *)((char *)fin->fin_dp + ICMPERR_ICMPHLEN); 1281 if ((ntohs(oip->ip_off) & IP_OFFMASK) != 0) { 1283 DT2(ipf_fi_bad_icmp_err, fr_info_t, fin, u_int, (ntohs(oip->ip_off) & IP_OFFMASK)); 1291 if (oip->ip_src.s_addr != fin->fin_daddr) {
|
/freebsd-11-stable/sbin/ping/ |
H A D | ping.c | 1262 struct ip *oip = &icp->icmp_ip; local 1264 struct ip *oip = (struct ip *)icp->icmp_data; 1266 struct icmp *oicmp = (struct icmp *)(oip + 1); 1270 (oip->ip_dst.s_addr == whereto.sin_addr.s_addr) && 1271 (oip->ip_p == IPPROTO_ICMP) &&
|
/freebsd-11-stable/contrib/ipfilter/iplang/ |
H A D | iplang_y.y | 641 aniphdr_t *aip, *oip = canip; 648 aip->ah_prev = oip; 660 if (oip) 661 canip->ah_data = oip->ah_data + oip->ah_len;
|
/freebsd-11-stable/sys/netpfil/pf/ |
H A D | pf.c | 2208 u_int16_t oip = *ip; local 2215 *pc = pf_cksum_fixup(*pc, oip, *ip, u); 2216 *ic = pf_cksum_fixup(*ic, oip, *ip, 0);
|