Searched refs:ip (Results 1 - 25 of 755) sorted by relevance

1234567891011>>

/macosx-10.9.5/postfix-252/postfix/src/util/
H A Dpercentm.c55 const unsigned char *ip = (const unsigned char *) str; local
61 while (*ip) {
62 switch (*ip) {
64 VSTRING_ADDCH(vp, *ip++);
67 switch (ip[1]) {
69 VSTRING_ADDCH(vp, *ip++);
72 VSTRING_ADDCH(vp, *ip++);
76 ip += 2;
H A Dcidr_match.c135 VSTRING *cidr_match_parse(CIDR_MATCH *ip, char *pattern, VSTRING *why) argument
171 ip->addr_family = CIDR_MATCH_ADDR_FAMILY(pattern);
172 ip->addr_bit_count = CIDR_MATCH_ADDR_BIT_COUNT(ip->addr_family);
173 ip->addr_byte_count = CIDR_MATCH_ADDR_BYTE_COUNT(ip->addr_family);
175 || (ip->mask_shift = atoi(mask)) > ip->addr_bit_count
176 || inet_pton(ip->addr_family, pattern, ip
[all...]
H A Dinet_trigger.c74 struct inet_trigger *ip = (struct inet_trigger *) context; local
81 msg_warn("%s: read timeout for service %s", myname, ip->service);
82 event_disable_readwrite(ip->fd);
84 if (close(ip->fd) < 0)
85 msg_warn("%s: close %s: %m", myname, ip->service);
86 myfree(ip->service);
87 myfree((char *) ip);
96 struct inet_trigger *ip; local
111 ip = (struct inet_trigger *) mymalloc(sizeof(*ip));
[all...]
H A Dmyaddrinfo.c232 struct ipv4addrinfo *ip; local
234 ip = (struct ipv4addrinfo *) mymalloc(sizeof(*ip));
235 *ip = *tp;
236 ip->info.ai_addr = (struct sockaddr *) & (ip->sin);
237 return (ip);
242 static void init_ipv4addrinfo(struct ipv4addrinfo * ip, int socktype) argument
249 memset((char *) ip, 0, sizeof(*ip));
303 struct ipv4addrinfo *ip; local
470 struct ipv4addrinfo *ip; local
800 struct addrinfo *ip; local
[all...]
/macosx-10.9.5/adv_cmds-153/stty/
H A Dkey.c110 ksearch(char ***argvp, struct info *ip) argument
117 ip->off = 1;
120 ip->off = 0;
126 if (!(kp->flags & F_OFFOK) && ip->off) {
130 if (kp->flags & F_NEEDARG && !(ip->arg = *++*argvp)) {
134 kp->f(ip);
139 f_all(struct info *ip) argument
141 print(&ip->t, &ip->win, ip
145 f_cbreak(struct info *ip) argument
160 f_columns(struct info *ip) argument
168 f_dec(struct info *ip) argument
181 f_ek(struct info *ip) argument
190 f_everything(struct info *ip) argument
197 f_extproc(struct info *ip) argument
210 f_ispeed(struct info *ip) argument
218 f_nl(struct info *ip) argument
232 f_ospeed(struct info *ip) argument
240 f_raw(struct info *ip) argument
254 f_rows(struct info *ip) argument
262 f_sane(struct info *ip) argument
276 f_size(struct info *ip) argument
283 f_speed(struct info *ip) argument
290 f_tty(struct info *ip) argument
[all...]
/macosx-10.9.5/dtrace-118.1/libdtrace/
H A Ddt_inttab.c38 dt_inttab_t *ip; local
42 if ((ip = dt_zalloc(dtp, sizeof (dt_inttab_t))) == NULL ||
43 (ip->int_hash = dt_zalloc(dtp, sizeof (void *) * len)) == NULL) {
44 dt_free(dtp, ip);
48 ip->int_hdl = dtp;
49 ip->int_hashlen = len;
51 return (ip);
55 dt_inttab_destroy(dt_inttab_t *ip) argument
59 for (hp = ip->int_head; hp != NULL; hp = np) {
61 dt_free(ip
69 dt_inttab_insert(dt_inttab_t *ip, uint64_t value, uint_t flags) argument
103 dt_inttab_size(const dt_inttab_t *ip) argument
109 dt_inttab_write(const dt_inttab_t *ip, uint64_t *dst) argument
[all...]
/macosx-10.9.5/text_cmds-87/lam/
H A Dlam.c85 struct openfile *ip; local
94 for (ip = input; ip->fp != NULL; ip++)
95 linep = gatherline(ip);
99 fputs(ip->sepstring, stdout);
108 struct openfile *ip = input; local
120 ip->fp = stdin;
121 else if ((ip->fp = fopen(p, "r")) == NULL) {
124 ip
182 pad(struct openfile *ip) argument
196 gatherline(struct openfile *ip) argument
[all...]
/macosx-10.9.5/network_cmds-433/natd.tproj/
H A Dicmp.c53 #include <netinet/ip.h>
60 int SendNeedFragIcmp (int sock, struct ip* failedDgram, int mtu)
63 struct ip* ip; local
85 ip = (struct ip*) icmpBuf;
86 icmp = (struct icmp*) (icmpBuf + sizeof (struct ip));
115 memcpy (ip, failedDgram, sizeof (struct ip));
117 ip
[all...]
H A Dnatd.h44 extern int SendNeedFragIcmp (int sock, struct ip* failedDgram, int mtu);
H A Dnatd.test10 ipfw add divert 32000 ip from any to any via $1
11 ipfw add pass ip from any to any
/macosx-10.9.5/CPANInternal-140/Net-IP/
H A Dipcount55 my $ip = new Net::IP($arg) or die ("Cannot create IP object $arg: ".Error());
57 my @list = $ip->find_prefixes() or die ($ip->error());
64 $ip->set ($list[0]) or die (Error());
66 warn ("I will use the first prefix only (".$ip->print.")\n\n");
70 $size = $size->bpow (ip_iplengths($ip->version) - $opts{d}) - 1;
72 my $current = new Net::IP($ip->ip);
73 my $last = new Net::IP($ip->last_ip);
93 printf ("\nFound %s /%ss in %s\n\n",$count, $opts{d}, $ip
[all...]
H A Diptab11 my ($ip,$size,$class,$bits,$len);
13 my $ip = new Net::IP('0');
18 $ip->set("0.0.0.0/$len");
20 $size = $ip->size();
33 $len = $ip->prefixlen();
53 $size,$bits,'/'.$len,$class,$ip->mask());
/macosx-10.9.5/libclosure-63/objectTests/
H A Dcast.c25 int *ip; local
29 ip = (int *)aBlock;
32 aBlock = (void (^)(void))ip;
/macosx-10.9.5/ruby-104/ruby/ext/tk/sample/tcltklib/
H A Dsample1.rb22 ip = TclTkInterpreter.new()
24 c = ip.commands()
41 print ip.info("command", "r*"), "\n"
51 v1 = TclTkVariable.new(ip, "20")
70 root = ip.rootwidget()
76 l1 = TclTkWidget.new(ip, root, label, "-text {type `x' to print}")
81 l2 = TclTkWidget.new(ip, root, "label")
89 c1 = TclTkCallback.new(ip, proc{sample(ip, root)})
91 b1 = TclTkWidget.new(ip, roo
[all...]
H A Dlines1.rb37 # $ip.commands()["destroy"].e($root)
40 $ip = TclTkInterpreter.new()
41 $root = $ip.rootwidget()
42 $a = TclTkWidget.new($ip, $root, "canvas", "-height 500 -width 500")
43 $c = TclTkCallback.new($ip, proc{drawlines()})
44 $b = TclTkWidget.new($ip, $root, "button", "-text draw -command", $c)
46 $ip.commands()["pack"].e($a, $b, "-side left")
/macosx-10.9.5/xnu-2422.115.4/bsd/dev/dtrace/scripts/
H A Dip.d26 #pragma D depends_on provider ip
72 * The ip vhl byte is the first byte in struct ip. The type names are
75 * version and header length info from the ip structure.
78 translator ipinfo_t < struct ip * ip > {
79 ip_ver = (ip != NULL) ? ((*(uint8_t *) ip) & 0xf0) >> 4 : 0;
80 ip_plength = (ip != NULL) ?
81 (ntohs(ip
[all...]
/macosx-10.9.5/BerkeleyDB-21/db/env/
H A Denv_failchk.c35 DB_THREAD_INFO *ip; local
56 ENV_ENTER(env, ip);
80 err: ENV_LEAVE(env, ip);
164 DB_THREAD_INFO *ip, *np; local
178 ip = SH_TAILQ_FIRST(&htab[i], __db_thread_info);
179 for (; ip != NULL; ip = np) {
180 np = SH_TAILQ_NEXT(ip,
182 __env_alloc_free(infop, ip);
204 DB_THREAD_INFO *ip; local
264 DB_THREAD_INFO *ip; local
291 DB_THREAD_INFO *ip; local
[all...]
/macosx-10.9.5/tcpdump-56/tcpdump/
H A Dprint-sl.c40 #include "ip.h"
48 static void sliplink_print(const u_char *, const struct ip *, u_int);
49 static void compressed_sl_print(const u_char *, const struct ip *, u_int, int);
56 register const struct ip *ip; local
65 ip = (struct ip *)(p + SLIP_HDRLEN);
68 sliplink_print(p, ip, length);
70 switch (IP_V(ip)) {
72 ip_print(gndo, (u_char *)ip, lengt
91 register const struct ip *ip; local
113 sliplink_print(register const u_char *p, register const struct ip *ip, register u_int length) argument
191 compressed_sl_print(const u_char *chdr, const struct ip *ip, u_int length, int dir) argument
[all...]
/macosx-10.9.5/ruby-104/ruby/ext/tk/sample/
H A Dremote-ip_sample.rb12 unless (wish = TkWinfo.interps.find{|ip| ip =~ /^wish/})
18 ip = RemoteTkIp.new(wish)
19 ip.eval_proc{TkButton.new(:command=>proc{puts 'This procesure is on the controller-ip (Ruby/Tk)'}, :text=>'print on Ruby/Tk (controller-ip)').pack(:fill=>:x)}
20 ip.eval_proc{TkButton.new(:command=>'puts {This procesure is on the remote-ip (wish)}', :text=>'print on wish (remote-ip)').pack(:fill=>:x)}
22 # If your remote-ip i
[all...]
/macosx-10.9.5/BerkeleyDB-21/db/db/
H A Ddb_setlsn.c30 DB_THREAD_INFO *ip; local
46 ENV_ENTER(env, ip);
48 (__env_lsn_reset(env, ip, name, LF_ISSET(DB_ENCRYPT) ? 1 : 0)),
50 ENV_LEAVE(env, ip);
59 __env_lsn_reset(env, ip, name, encrypted)
61 DB_THREAD_INFO *ip;
86 if ((ret = __db_open(dbp, ip, NULL,
96 &pgno, ip, NULL, DB_MPOOL_DIRTY, &pagep)) == 0;
100 ip, pagep, DB_PRIORITY_UNCHANGED)) != 0)
/macosx-10.9.5/apache-786.1/httpd/support/
H A Dlogresolve.pl.in128 my (@buffer, $child, $ip, $rest, $hostname, $response);
137 ($ip, $rest) = split(/ /, $_, 2); # separate IP form rest
139 unless ($hash{$ip}) { # resolve if unseen IP
140 $CHILDSOCK{$child}->print("$ip\n"); # pass IP to next child
141 $hash{$ip} = $ip; # don't look it up again.
153 ($ip, $hostname) = split(/\|/, $response, 2);
154 $hash{$ip} = $hostname;
160 ($ip, $rest) = split(/ /, $buffer[$line], 2);
162 printf STDOUT ("%s %s", $hash{$ip},
[all...]
/macosx-10.9.5/file_cmds-230/mtree/
H A Dspec.c167 set(char *t, NODE *ip) argument
178 ip->flags |= type = parsekey(kw, &value);
183 ip->cksum = strtoul(val, &ep, 10);
189 ip->md5digest = strdup(val);
190 if(!ip->md5digest)
194 ip->sha1digest = strdup(val);
195 if(!ip->sha1digest)
199 ip->sha256digest = strdup(val);
200 if(!ip->sha256digest)
204 ip
312 unset(char *t, NODE *ip) argument
[all...]
/macosx-10.9.5/xnu-2422.115.4/osfmk/i386/
H A Dstartup64.c93 uint32_t *ip = (uint32_t *) sp; local
99 i++, ip++)
100 kprintf("%p: 0x%08x\n", ip, *ip);
128 uint64_t *ip = (uint64_t *) sp; local
134 i++, ip++)
135 kprintf("%p: 0x%016llx\n", ip, *ip);
175 uint32_t *ip = (uint32_t *) gdtp; local
178 for (i = 0; i < GDTSZ; i++, ip
188 uint32_t *ip = (uint32_t *) ldtp; local
201 uint32_t *ip = (uint32_t *) idtp; local
216 uint32_t *ip = (uint32_t *) tssp; local
[all...]
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/string/
H A Dfmtgid.c62 register Id_t* ip; local
76 else if (ip = (Id_t*)dtmatch(dict, &gid))
77 return ip->name;
93 if (dict && (ip = newof(0, Id_t, 1, strlen(name))))
95 ip->id = gid;
96 strcpy(ip->name, name);
97 dtinsert(dict, ip);
98 return ip->name;
H A Dfmtuid.c62 register Id_t* ip; local
76 else if (ip = (Id_t*)dtmatch(dict, &uid))
77 return ip->name;
93 if (dict && (ip = newof(0, Id_t, 1, strlen(name))))
95 ip->id = uid;
96 strcpy(ip->name, name);
97 dtinsert(dict, ip);
98 return ip->name;

Completed in 312 milliseconds

1234567891011>>