HomeSort by: relevance | last modified time | path
    Searched defs:nl (Results 1 - 25 of 59) sorted by relevancy

1 2 3

  /src/libexec/identd/
ipf.c 37 natlookup_t nl; local in function:ipf_natlookup
42 (void)memset(&nl, 0, sizeof(nl));
46 obj.ipfo_size = sizeof(nl);
47 obj.ipfo_ptr = &nl;
53 (void)memcpy(&nl.nl_realip, &csatosin(&ss[0])->sin_addr,
55 (void)memcpy(&nl.nl_outip, &csatosin(&ss[1])->sin_addr,
57 nl.nl_realport = ntohs(csatosin(&ss[0])->sin_port);
58 nl.nl_outport = ntohs(csatosin(&ss[1])->sin_port);
59 nl.nl_flags = IPN_TCP | IPN_IN
    [all...]
pf.c 33 struct pfioc_natlook nl; local in function:pf_natlookup
36 (void)memset(&nl, 0, sizeof(nl));
41 (void)memcpy(&nl.daddr.v4, &csatosin(&ss[0])->sin_addr,
43 (void)memcpy(&nl.saddr.v4, &csatosin(&ss[1])->sin_addr,
45 nl.dport = csatosin(&ss[0])->sin_port;
46 nl.sport = csatosin(&ss[1])->sin_port;
47 nl.af = AF_INET;
48 nl.proto = IPPROTO_TCP;
49 nl.direction = PF_IN
    [all...]
  /src/usr.sbin/crash/arch/
mips.c 45 static struct nlist nl[] = { variable in typeref:struct:nlist[]
57 if (kvm_nlist(kd, nl) == -1) {
60 if ((size_t)kvm_read(kd, nl[0].n_value, &pcb, sizeof(pcb)) !=
70 return (vaddr_t)nl[1].n_value;
sparc.c 48 static struct nlist nl[] = { variable in typeref:struct:nlist[]
59 if (kvm_nlist(kd, nl) == -1) {
62 if ((size_t)kvm_read(kd, nl[0].n_value, &pcb, sizeof(pcb)) !=
x86.c 54 static struct nlist nl[] = { variable in typeref:struct:nlist[]
68 if (kvm_nlist(kd, nl) == -1) {
71 if ((size_t)kvm_read(kd, nl[0].n_value, &pcb, sizeof(pcb)) !=
76 if ((size_t)kvm_read(kd, nl[1].n_value, &vm_min_kernel_address,
aarch64.c 48 static struct nlist nl[] = { variable in typeref:struct:nlist[]
58 if (kvm_nlist(kd, nl) == -1)
61 el0_trap = nl[0].n_value;
62 el1_trap = nl[1].n_value;
63 cpu_switchto_softint = nl[2].n_value;
powerpc.c 49 static struct nlist nl[] = { variable in typeref:struct:nlist[]
60 if (kvm_nlist(kd, nl) == -1)
63 trapexit = (void *)nl[N_TRAPEXIT].n_value;
64 sctrapexit = (void *)nl[N_SCTRAPEXIT].n_value;
65 intrcall = (void *)nl[N_INTRCALL].n_value;
  /src/lib/libkvm/
kvm_getloadavg.c 58 static struct nlist nl[] = { variable in typeref:struct:nlist[]
82 if (kvm_nlist(kd, nl) != 0) {
83 for (p = nl; p->n_type != 0; ++p);
89 if (KREAD(kd, nl[X_AVERUNNABLE].n_value, &loadinfo)) {
98 if (!KREAD(kd, nl[X_FSCALE].n_value, &fscale))
kvm_file.c 155 struct nlist nl[3], *p; local in function:kvm_getfiles
157 nl[0].n_name = "_nfiles";
158 nl[1].n_name = "_filehead";
159 nl[2].n_name = 0;
161 if (kvm_nlist(kd, nl) != 0) {
162 for (p = nl; p->n_type != 0; ++p)
168 if (KREAD(kd, nl[0].n_value, &numfiles)) {
174 numfiles = kvm_deadfiles(kd, op, arg, (long)nl[1].n_value,
kvm_vax.c 80 struct nlist nl[2]; local in function:_kvm_initvtop
92 nl[0].n_name = "_end";
93 nl[1].n_name = 0;
94 if (kvm_nlist(kd, nl) != 0) {
98 vm->end = (u_long)nl[0].n_value;
  /src/share/man/tools/
line.c 11 char nl = '\n'; variable in typeref:typename:char
22 while ((c = readc()) != nl)
32 write(1,&nl,1);
41 return(nl);
  /src/usr.bin/make/unit-tests/
deptgt-makeflags.mk 58 # The following line looks as if it assigned a newline to nl, but it doesn't.
60 # assignment. At that point, the line is simply "nl=\n", and the \n is
62 .MAKEFLAGS: nl="\n" macro
63 .if ${nl} != ""
78 .MAKEFLAGS: nl:="$${:U}\n$${:U}" macro
79 .if ${nl} != ${.newline}
  /src/usr.bin/rdist/
lookup.c 63 struct namelist *nl; local in function:define
81 nl = NULL;
103 if (nl == NULL)
104 value = nl = makenl(cp);
106 nl->n_next = makenl(cp);
107 nl = nl->n_next;
  /src/usr.bin/find/
misc.c 105 int ch, first, nl; local in function:queryuser
114 for (nl = 0;;) {
116 nl = 1;
124 if (!nl) {
  /src/lib/libc/stdio/
fvwrite.c 68 char *nl; local in function:__sfvwrite
199 nl = memchr(p, '\n', len);
200 nldist = nl ? (size_t)(nl + 1 - p) : len + 1;
fparseln.c 102 char esc, con, nl, com; local in function:fparseln
120 nl = '\n';
142 if (s && nl) { /* Check and eliminate newlines */
145 if (*cp == nl)
  /src/sys/arch/hp300/dev/
diofb_mono.c 132 int nl; /* temp copy of nlMiddle */ local in function:diofb_mono_windowmove
200 nl = nlMiddle;
201 while (nl-- > 0) {
210 nl = nlMiddle + 1;
211 while (--nl > 0) {
249 nl = nlMiddle + 1;
250 while (--nl > 0) {
  /src/bin/kill/
kill.c 270 int nl, pad; local in function:printsignals
294 nl = strlen(name);
296 if (len > 0 && nl + len + pad >= termwidth) {
305 len += nl + pad;
306 pad = (nl | 7) + 1 - nl;
  /src/usr.sbin/gspa/gspa/
gsp_sym.c 130 struct numlab *nl; local in function:set_numeric_label
148 new(nl);
149 nl->value = pc;
150 nl->lineno = lineno;
151 nl->next = NULL;
153 fp->nlab = nl;
155 bp->nlab->next = nl;
156 bp->nlab = nl;
164 nl = fp->nlab;
165 nl = nl->next
188 struct numlab *nl; local in function:reset_numeric_labels
    [all...]
  /src/usr.sbin/kvm_mkdb/
nlist_aout.c 263 struct nlist nl[2]; local in function:get_kerntext
265 memset((caddr_t)nl, 0, sizeof(nl));
266 nl[0].n_un.n_name = "_kernel_text";
268 if (nlist(name, nl) != 0) {
270 name, nl[0].n_un.n_name);
274 return (nl[0].n_value);
  /src/usr.sbin/mdsetimage/
bin_nlist.c 96 struct nlist nl[3]; local in function:bin_find_md_root
118 (void)memset(nl, 0, sizeof(nl));
119 N_NAME(&nl[X_MD_ROOT_IMAGE]) = root_name;
120 N_NAME(&nl[X_MD_ROOT_SIZE]) = size_name;
122 if (__fdnlist(bin->kfd, nl) != 0)
126 nl[1].n_value, md_root_size_offset, text_start) != 0) {
128 nl[X_MD_ROOT_SIZE].n_name, bin->fname);
133 nl[X_MD_ROOT_SIZE].n_name, *md_root_size_offset,
139 nl[X_MD_ROOT_SIZE].n_name, *md_root_size)
    [all...]
  /src/sys/arch/atari/stand/binpatch/
binpatch.c 118 struct nlist nl[2]; local in function:main
202 nl[0].n_name = symbol;
203 nl[1].n_name = NULL;
204 if ((rv = __fdnlist(fd, nl)) != 0)
207 addr = nl[0].n_value;
246 symbol != NULL ? nl[0].n_name : "address" , fname);
  /src/sys/arch/mvme68k/stand/installboot/
installboot.c 55 struct nlist nl[] = { variable in typeref:struct:nlist[]
187 if (nlist(fname, nl) != 0) {
208 block_size_p = (int *)(bp + (nl[X_BLOCK_SIZE ].n_value - offs));
209 block_count_p = (int *)(bp + (nl[X_BLOCK_COUNT].n_value - offs));
211 block_table = (int32_t *)(bp + (nl[X_BLOCK_TABLE].n_value - offs));
218 maxblocknum, nl[X_BLOCK_TABLE].n_value);
  /src/sys/arch/pmax/stand/smallnet/setnetimage/
setnetimage.c 50 struct nlist nl[] = { variable in typeref:struct:nlist[]
63 #define X_NSYMS ((sizeof(nl) / sizeof(struct nlist)) - 1)
105 if (nlist(bootfile, nl) != 0)
122 if (findoff_elf32(mappedbfile, osb.st_size, nl[i].n_value, &offsets[i]) != 0)
123 errx(1, "Couldn't find offset for %s in %s", nl[i].n_name, bootfile);
125 printf("%s is at offset %#x in %s\n", nl[i].n_name, offsets[i], bootfile);
  /src/usr.bin/netstat/
vtw.c 158 struct nlist nl[2]; local in function:lookup
160 nl[0].n_name = name;
161 nl[0].n_value = 0;
162 nl[1].n_name = NULL;
169 switch (kvm_nlist(k, &nl[0])) {
175 return (void *)nl[0].n_value;

Completed in 17 milliseconds

1 2 3