Home
last modified time | relevance | path

Searched refs:comm (Results 1 – 25 of 122) sorted by relevance

12345

/openbsd-src/usr.sbin/bgpd/
H A Drde_community.c219 insert_community(struct rde_community *comm, struct community *c) in insert_community() argument
224 if (comm->nentries + 1 > comm->size) { in insert_community()
226 int newsize = comm->size + 8; in insert_community()
228 if ((new = recallocarray(comm->communities, comm->size, in insert_community()
231 comm->communities = new; in insert_community()
232 comm->size = newsize; in insert_community()
236 for (l = 0; l < comm->nentries; l++) { in insert_community()
237 r = fast_match(comm in insert_community()
270 community_match(struct rde_community * comm,struct community * fc,struct rde_peer * peer) community_match() argument
298 community_count(struct rde_community * comm,uint8_t type) community_count() argument
337 community_set(struct rde_community * comm,struct community * fc,struct rde_peer * peer) community_set() argument
376 community_delete(struct rde_community * comm,struct community * fc,struct rde_peer * peer) community_delete() argument
421 community_add(struct rde_community * comm,int flags,struct ibuf * buf) community_add() argument
445 community_large_add(struct rde_community * comm,int flags,struct ibuf * buf) community_large_add() argument
467 community_ext_add(struct rde_community * comm,int flags,int ebgp,struct ibuf * buf) community_ext_add() argument
515 community_writebuf(struct rde_community * comm,uint8_t type,int ebgp,struct ibuf * buf) community_writebuf() argument
646 communities_lookup(struct rde_community * comm) communities_lookup() argument
652 communities_link(struct rde_community * comm) communities_link() argument
676 communities_unlink(struct rde_community * comm) communities_unlink() argument
736 communities_clean(struct rde_community * comm) communities_clean() argument
[all...]
H A Drde.h464 communities_ref(struct rde_community *comm) in communities_unref()
466 if (comm->refcnt == 0) in communities_unref()
468 comm->refcnt++; in communities_unref()
470 return comm;
474 communities_unref(struct rde_community *comm)
476 if (comm == NULL)
479 if (--comm->refcnt == 1) /* last ref is hold internally */
480 communities_unlink(comm);
451 communities_ref(struct rde_community * comm) communities_ref() argument
461 communities_unref(struct rde_community * comm) communities_unref() argument
H A Drde_rib.c974 struct rde_community *comm, *ncomm = &state->communities; in prefix_update() local
1009 if ((comm = communities_lookup(ncomm)) == NULL) { in prefix_update()
1011 comm = communities_link(ncomm); in prefix_update()
1016 return (prefix_move(p, peer, asp, comm, state->nexthop, in prefix_update()
1020 path_id_tx, asp, comm, state->nexthop, state->nhflags,
1030 struct rde_aspath *asp, struct rde_community *comm, in prefix_add()
1045 prefix_link(p, re, re->prefix, peer, path_id, path_id_tx, asp, comm, in prefix_add()
1064 struct rde_aspath *asp, struct rde_community *comm, in prefix_move()
1078 asp, comm, nexthop, nhflags, vstate); in prefix_move()
1141 struct rde_community *comm, *ncom in prefix_flowspec_update()
1026 prefix_add(struct bgpd_addr * prefix,int prefixlen,struct rib * rib,struct rde_peer * peer,uint32_t path_id,uint32_t path_id_tx,struct rde_aspath * asp,struct rde_community * comm,struct nexthop * nexthop,uint8_t nhflags,uint8_t vstate) prefix_add() argument
1057 prefix_move(struct prefix * p,struct rde_peer * peer,struct rde_aspath * asp,struct rde_community * comm,struct nexthop * nexthop,uint8_t nhflags,uint8_t vstate) prefix_move() argument
1131 struct rde_community *comm, *ncomm; prefix_flowspec_update() local
1233 struct rde_community *comm; prefix_adjout_update() local
1561 prefix_link(struct prefix * p,struct rib_entry * re,struct pt_entry * pt,struct rde_peer * peer,uint32_t path_id,uint32_t path_id_tx,struct rde_aspath * asp,struct rde_community * comm,struct nexthop * nexthop,uint8_t nhflags,uint8_t vstate) prefix_link() argument
[all...]
/openbsd-src/usr.sbin/acme-client/
H A Dutil.c77 readop(int fd, enum comm comm) in readop() argument
84 warn("read: %s", comms[comm]); in readop()
87 warnx("short read: %s", comms[comm]); in readop()
96 readstr(int fd, enum comm comm) in readstr() argument
100 return readbuf(fd, comm, &sz); in readstr()
110 readbuf(int fd, enum comm comm, size_t *sz) in readbuf() argument
117 warn("read: %s length", comms[comm]); in readbuf()
120 warnx("short read: %s length", comms[comm]); in readbuf()
136 warn("read: %s", comms[comm]); in readbuf()
146 warnx("couldn't read buffer: %s", comms[comm]); in readbuf()
[all …]
H A Dextern.h116 enum comm { enum
230 long readop(int, enum comm);
231 char *readbuf(int, enum comm, size_t *);
232 char *readstr(int, enum comm);
233 int writebuf(int, enum comm, const void *, size_t);
234 int writestr(int, enum comm, const char *);
235 int writeop(int, enum comm, long);
/openbsd-src/regress/usr.sbin/bgpd/unittests/
H A Drde_community_test.c29 struct rde_community comm; variable
54 communities_clean(&comm); in test_parsing()
77 r = community_add(&comm, flags, &abuf); in test_parsing()
80 r = community_ext_add(&comm, flags, 0, &abuf); in test_parsing()
83 r = community_large_add(&comm, flags, &abuf); in test_parsing()
97 if (community_writebuf(&comm, ATTR_COMMUNITIES, 1, buf) == -1) { in test_parsing()
101 if (community_writebuf(&comm, ATTR_EXT_COMMUNITIES, 1, buf) == -1) { in test_parsing()
105 if (community_writebuf(&comm, ATTR_LARGE_COMMUNITIES, 1, buf) == -1) { in test_parsing()
136 communities_clean(&comm); in test_filter()
142 r = community_set(&comm, &filters[f->in[l]], p); in test_filter()
[all …]
/openbsd-src/lib/
H A Dcheck_sym205 comm -23 j$1 DU$1 >J$1
216 output_if_not_empty "added:" comm -13 D[12]
217 output_if_not_empty "removed:" comm -23 D[12]
218 output_if_not_empty "weakened:" comm -12 DS1 DW2
219 output_if_not_empty "strengthened:" comm -12 DW1 DS2
226 output_if_not_empty "added:" comm -13 DU[12]
227 output_if_not_empty "removed:" comm -23 DU[12]
237 output_if_not_empty "PLT added:" comm -13 J[12]
238 output_if_not_empty "PLT removed:" comm -23 J[12]
267 output_if_not_empty "hidden but not reserved:" comm
[all...]
/openbsd-src/gnu/usr.bin/gcc/contrib/
H A Dcompare_tests35 grep '^PASS' "$before_s" | sed 's/^....: //' | comm -12 $tmp1 - >$tmp2
46 grep '^FAIL' "$before_s" | sed 's/^....: //' | comm -12 $tmp1 - >$tmp2
57 grep '^[PF]A[SI][SL]' "$before_s" | sed 's/^....: //' | comm -23 $tmp1 - >$tmp2
68 grep '^[PF]A[SI][SL]' "$before_s" | sed 's/^....: //' | comm -23 $tmp1 - >$tmp2
79 grep '^PASS' "$before_s" | sed 's/^....: //' | comm -13 $tmp1 - >$tmp2
90 grep '^FAIL' "$before_s" | sed 's/^....: //' | comm -13 $tmp1 - >$tmp2
/openbsd-src/gnu/usr.bin/binutils/opcodes/
H A Dmsp430-dis.c195 msp430_nooperands (opcode, addr, insn, comm, cycles) in msp430_nooperands() argument
199 char *comm;
213 strcpy (comm, "emulated...");
218 strcpy (comm, "return from interupt");
227 msp430_singleoperand (info, opcode, addr, insn, op, comm, cycles) in msp430_singleoperand() argument
233 char *comm;
289 sprintf (comm, "PC rel. abs addr 0x%04x",
318 sprintf (comm, "r3 As==00");
333 sprintf (comm, "r2 As==10");
338 sprintf (comm, "r3 As==10");
[all …]
/openbsd-src/gnu/usr.bin/binutils-2.17/opcodes/
H A Dmsp430-dis.c56 char *comm, in msp430_nooperands() argument
70 strcpy (comm, "emulated..."); in msp430_nooperands()
75 strcpy (comm, "return from interupt"); in msp430_nooperands()
88 char *comm, in msp430_singleoperand() argument
144 sprintf (comm, "PC rel. abs addr 0x%04x", in msp430_singleoperand()
172 sprintf (comm, "r3 As==00"); in msp430_singleoperand()
187 sprintf (comm, "r2 As==10"); in msp430_singleoperand()
192 sprintf (comm, "r3 As==10"); in msp430_singleoperand()
207 sprintf (comm, "r2 As==11"); in msp430_singleoperand()
212 sprintf (comm, "r3 As==11"); in msp430_singleoperand()
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_amd64.S14 .comm _ZN14__interception15real___setjmp14E,8,8
16 .comm _ZN14__interception11real_setjmpE,8,8
65 .comm _ZN14__interception12real__setjmpE,8,8
101 .comm _ZN14__interception18real___sigsetjmp14E,8,8
106 .comm _ZN14__interception14real_sigsetjmpE,8,8
164 .comm _ZN14__interception16real___sigsetjmpE,8,8
H A Dtsan_rtl_loongarch64.S6 .comm _ZN14__interception11real_setjmpE,8,8
54 .comm _ZN14__interception12real__setjmpE,8,8
102 .comm _ZN14__interception14real_sigsetjmpE,8,8
150 .comm _ZN14__interception16real___sigsetjmpE,8,8
H A Dtsan_rtl_aarch64.S36 .comm _ZN14__interception11real_setjmpE,8,8
87 .comm _ZN14__interception12real__setjmpE,8,8
138 .comm _ZN14__interception14real_sigsetjmpE,8,8
191 .comm _ZN14__interception16real___sigsetjmpE,8,8
H A Dtsan_rtl_mips64.S5 .comm _ZN14__interception11real_setjmpE,8,8
58 .comm _ZN14__interception12real__setjmpE,8,8
110 .comm _ZN14__interception14real_sigsetjmpE,8,8
163 .comm _ZN14__interception16real___sigsetjmpE,8,8
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.mike/
H A Dp10849a.C5 int comm; member
6 A(int i) : comm(i) { } in A()
24 int D::*pmd = (int C::*)&C::comm; in g()
/openbsd-src/usr.bin/aucat/
H A Dafile.c111 struct aiff_commbase comm; member
427 struct aiff_comm comm; in afile_wav_writehdr()
434 logx(1, "%s: %u: bogus comm chunk size", f->path, csize); in afile_wav_writehdr()
437 if (read(f->fd, &comm, csize_min) != csize_min) { in afile_wav_writehdr()
438 logx(1, "%s: failed to read comm chunk", f->path); in afile_wav_writehdr()
441 f->nch = be16_get(&comm.base.nch); in afile_wav_writehdr()
442 e = be16_get(&comm.base.rate_ex); in afile_wav_writehdr()
443 m = be32_get(&comm.base.rate_hi); in afile_wav_writehdr()
450 if (memcmp(comm.comp_id, aiff_id_none, 4) == 0) {
452 f->par.bits = be16_get(&comm
455 struct aiff_comm comm; afile_aiff_readcomm() local
[all...]
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D20010408-1.c9 struct comm struct
15 extern struct comm comms[]; argument
19 extern int AclSetPermCmd (struct auser *, char *, struct comm *);
/openbsd-src/regress/usr.sbin/btrace/
H A Dfilters.bt2 /"ksh" != comm/
8 /comm == "ksh" && tid >= 45/
/openbsd-src/usr.bin/dig/lib/dns/rdata/generic/
H A Dsoa_6.c37 int comm; in totext_soa() local
44 comm = (tctx->flags & DNS_STYLEFLAG_RRCOMMENT) != 0; in totext_soa()
46 comm = 0; in totext_soa()
77 snprintf(buf, sizeof(buf), comm ? "%-10lu ; " : "%lu", num); in totext_soa()
79 if (comm) { in totext_soa()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/FreeBSDKernel/
H A DProcessFreeBSDKernel.cpp195 char comm[fbsd_maxcomlen + 1]; in DoUpdateThreadList() local
196 ReadCStringFromMemory(proc + offset_p_comm, comm, sizeof(comm), error); in DoUpdateThreadList()
220 std::string thread_desc = llvm::formatv("(pid {0}) {1}", pid, comm); in DoUpdateThreadList()
221 if (*thread_name && strcmp(thread_name, comm)) { in DoUpdateThreadList()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteClientBase.cpp306 GDBRemoteClientBase::ContinueLock::ContinueLock(GDBRemoteClientBase &comm) in ContinueLock() argument
307 : m_comm(comm), m_acquired(false) { in ContinueLock()
355 GDBRemoteClientBase::Lock::Lock(GDBRemoteClientBase &comm, in Lock() argument
357 : m_async_lock(comm.m_async_mutex, std::defer_lock), m_comm(comm), in Lock()
H A DGDBRemoteClientBase.h79 Lock(GDBRemoteClientBase &comm,
158 explicit ContinueLock(GDBRemoteClientBase &comm);
/openbsd-src/gnu/llvm/lldb/tools/lldb-vscode/
H A DOptions.td31 "--comm-files-prefix must also be specified.">;
33 def comm_file: Separate<["--", "-"], "comm-file">,
/openbsd-src/gnu/usr.bin/gcc/gcc/config/m68k/
H A Dmot3300-crt0.S23 # define COMM comm
32 # define COMM .comm
/openbsd-src/gnu/usr.bin/gcc/contrib/regression/
H A Dbtest-gcc.sh162 comm -12 $FAILED $PASSES >> $REGRESS || exit 1
173 done | sort | uniq | comm -23 - $FAILED > ${PASSES}~ || exit 1

12345