Searched refs:oip (Results 1 - 14 of 14) sorted by relevance

/freebsd-9.3-release/sys/fs/ext2fs/
H A Dext2_inode.c105 * Truncate the inode oip to at most length size, freeing the
114 struct inode *oip; local
125 oip = VTOI(ovp);
134 oip->i_size < ovp->v_mount->mnt_maxsymlinklen) {
139 bzero((char *)&oip->i_shortlink, (u_int)oip->i_size);
140 oip->i_size = 0;
141 oip->i_flag |= IN_CHANGE | IN_UPDATE;
144 if (oip->i_size == length) {
145 oip
[all...]
/freebsd-9.3-release/tools/tools/tinybsd/conf/firewall/etc/
H A Drc.firewall201 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-9.3-release/tools/tools/tinybsd/conf/wireless/etc/
H A Drc.firewall201 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-9.3-release/contrib/tcpdump/
H A Dprint-icmp.c343 const struct ip *oip; local
385 oip = &dp->icmp_ip;
386 hlen = IP_HL(oip) * 4;
387 ouh = (struct udphdr *)(((u_char *)oip) + hlen);
390 switch (oip->ip_p) {
395 ipaddr_string(&oip->ip_dst),
402 ipaddr_string(&oip->ip_dst),
409 ipaddr_string(&oip->ip_dst),
410 oip->ip_p, dport);
H A Dprint-icmp6.c308 const struct ip6_hdr *oip; local
316 oip = (struct ip6_hdr *)(dp + 1);
351 TCHECK(oip->ip6_dst);
358 printf(" %s",ip6addr_string(&oip->ip6_dst));
362 ip6addr_string(&oip->ip6_dst),
363 ip6addr_string(&oip->ip6_src));
366 if ((ouh = get_upperlayer((u_char *)oip, &prot))
374 ip6addr_string(&oip->ip6_dst),
379 ip6addr_string(&oip->ip6_dst),
384 ip6addr_string(&oip
[all...]
/freebsd-9.3-release/sys/netinet/
H A Dip_icmp.c210 register struct ip *oip = mtod(n, struct ip *), *nip; local
211 register unsigned oiphlen = oip->ip_hl << 2;
219 printf("icmp_error(%p, %x, %d)\n", oip, type, code);
232 if (oip->ip_off & ~(IP_MF|IP_DF))
236 if (oip->ip_p == IPPROTO_ICMP && type != ICMP_REDIRECT &&
238 !ICMP_INFOTYPE(((struct icmp *)((caddr_t)oip + oiphlen))->icmp_type)) {
252 if (oip->ip_p == IPPROTO_TCP) {
262 th = (struct tcphdr *)((caddr_t)oip + oiphlen);
266 if (oip->ip_len < oiphlen + tcphlen)
273 icmpelen = max(tcphlen, min(V_icmp_quotelen, oip
[all...]
/freebsd-9.3-release/sys/ufs/ufs/
H A Dufs_lookup.c1265 ufs_dirrewrite(dp, oip, newinum, newtype, isrmdir)
1266 struct inode *dp, *oip;
1280 oip->i_effnlink--;
1282 softdep_setup_unlink(dp, oip);
1284 oip->i_nlink--;
1285 DIP_SET(oip, i_nlink, oip->i_nlink);
1286 oip->i_flag |= IN_CHANGE;
1293 ep->d_ino != oip->i_number) {
1301 softdep_setup_directory_change(bp, dp, oip, newinu
[all...]
/freebsd-9.3-release/sys/contrib/ipfilter/netinet/
H A Dip_nat.c2753 ip_t *oip; local
2769 oip = (ip_t *)((char *)fin->fin_dp + 8);
2770 minlen = IP_HL(oip) << 2;
2789 if ((char *)oip + fin->fin_dlen - ICMPERR_ICMPHLEN > (char *)m->b_wptr)
2792 if ((char *)oip + fin->fin_dlen - ICMPERR_ICMPHLEN >
2799 if (fin->fin_daddr != oip->ip_src.s_addr)
2802 p = oip->ip_p;
2808 orgicmp = (icmphdr_t *)((char *)oip + (IP_HL(oip) << 2));
2824 nat = nat_inlookup(fin, flags, p, oip
2889 ip_t *oip; local
[all...]
H A Dip_state.c2088 ip_t *oip; local
2104 oip = (ip_t *)((char *)ic + ICMPERR_ICMPHLEN);
2109 if (fin->fin_plen < ICMPERR_MAXPKTLEN + ((IP_HL(oip) - 5) << 2))
2116 if ((len <= 0) || ((IP_HL(oip) << 2) > len))
2134 if ((char *)oip + len > (char *)m->b_wptr)
2137 if ((char *)oip + len > (char *)fin->fin_ip + m->m_len)
2159 * watch out here, as ip is in host order and oip in network
2161 * oip->ip_off - it is still in network byte order so fix it.
2163 savelen = oip->ip_len;
2164 oip
[all...]
H A Dip_fil_freebsd.c653 ip_t *ip, *oip; local
664 oip = fin->fin_ip;
665 IP_HL_A(ip, sizeof(*oip) >> 2);
666 ip->ip_tos = oip->ip_tos;
675 hlen = sizeof(*oip);
H A Dfil.c999 ip_t *oip; local
1064 oip = (ip_t *)((char *)fin->fin_dp + ICMPERR_ICMPHLEN);
1065 if ((ntohs(oip->ip_off) & IP_OFFMASK) != 0)
1073 if (oip->ip_src.s_addr != fin->fin_daddr)
1081 if (oip->ip_src.s_addr != fin->fin_daddr)
/freebsd-9.3-release/sbin/ping/
H A Dping.c1163 struct ip *oip = &icp->icmp_ip; local
1165 struct ip *oip = (struct ip *)icp->icmp_data;
1167 struct icmp *oicmp = (struct icmp *)(oip + 1);
1171 (oip->ip_dst.s_addr == whereto.sin_addr.s_addr) &&
1172 (oip->ip_p == IPPROTO_ICMP) &&
/freebsd-9.3-release/contrib/ipfilter/iplang/
H A Diplang_y.y682 aniphdr_t *aip, *oip = canip;
689 aip->ah_prev = oip;
701 if (oip)
702 canip->ah_data = oip->ah_data + oip->ah_len;
/freebsd-9.3-release/sys/contrib/pf/net/
H A Dpf.c2170 u_int16_t oip = *ip; local
2177 *pc = pf_cksum_fixup(*pc, oip, *ip, u);
2178 *ic = pf_cksum_fixup(*ic, oip, *ip, 0);

Completed in 138 milliseconds