/freebsd-11-stable/contrib/ipfilter/tools/ |
H A D | ippool.c | 72 fprintf(stderr, "\t-a [-dnv] -m <name> [-o <role>] [-t type] [-T ttl] -i <ipaddr>[/netmask]\n"); 73 fprintf(stderr, "\t-A [-dnv] [-m <name>] [-o <role>] [-S <seed>] [-t <type>]\n"); 75 fprintf(stderr, "\t-F [-dv] [-o <role>] [-t <type>]\n"); 76 fprintf(stderr, "\t-l [-dv] [-m <name>] [-t <type>] [-o <role>] [-M <core>] [-N <namelist>]\n"); 77 fprintf(stderr, "\t-r [-dnv] [-m <name>] [-o <role>] [-t type] -i <ipaddr>[/netmask]\n"); 78 fprintf(stderr, "\t-R [-dnv] [-m <name>] [-o <role>] [-t <type>]\n"); 137 int err = 0, c, ipset, role, type = IPLT_POOL, ttl = 0; local 144 role = IPL_LOGIPF; 156 if (setnodeaddr(type, role, ptr, optarg) == 0) 168 "cannot set role afte 255 int type, role, c, err; local 430 int c, type, role, live_kernel; local 559 int c, role, type, arg; local 631 int role; local 689 int c, role, type, live_kernel; local 1073 setnodeaddr(int type, int role, void *ptr, char *arg) argument [all...] |
/freebsd-11-stable/sbin/hastd/ |
H A D | control.h | 45 void control_set_role(struct hast_resource *res, uint8_t role);
|
H A D | subr.h | 55 const char *role2str(int role);
|
H A D | control.c | 77 uint8_t role, struct hast_resource *res, const char *name, unsigned int no) 100 /* Send previous role back. */ 101 nv_add_string(nvout, role2str(res->hr_role), "role%u", no); 104 if (role == res->hr_role) 108 pjdlog_info("Role changed to %s.", role2str(role)); 110 /* Change role to the new one. */ 112 res->hr_role = role; 116 * If previous role was primary or secondary we have to kill process 137 if (role == HAST_ROLE_PRIMARY) 140 hook_exec(res->hr_exec, "role", re 76 control_set_role_common(struct hastd_config *cfg, struct nv *nvout, uint8_t role, struct hast_resource *res, const char *name, unsigned int no) argument 145 control_set_role(struct hast_resource *res, uint8_t role) argument 314 uint8_t cmd, role; local [all...] |
H A D | subr.c | 140 role2str(int role) argument 143 switch (role) {
|
/freebsd-11-stable/etc/rc.d/ |
H A D | hastd | 26 ${hastctl} role init all
|
/freebsd-11-stable/sys/contrib/ck/src/ |
H A D | ck_barrier_tournament.c | 70 /* The first role is always CK_BARRIER_TOURNAMENT_DROPOUT. */ 72 rounds[i][0].role = CK_BARRIER_TOURNAMENT_DROPOUT; 79 rounds[i][k].role = CK_BARRIER_TOURNAMENT_WINNER; 81 rounds[i][k].role = CK_BARRIER_TOURNAMENT_BYE; 85 rounds[i][k].role = CK_BARRIER_TOURNAMENT_LOSER; 87 rounds[i][k].role = CK_BARRIER_TOURNAMENT_CHAMPION; 89 if (rounds[i][k].role == CK_BARRIER_TOURNAMENT_LOSER) 91 else if (rounds[i][k].role == CK_BARRIER_TOURNAMENT_WINNER || 92 rounds[i][k].role == CK_BARRIER_TOURNAMENT_CHAMPION) 119 switch (rounds[state->vpid][round].role) { [all...] |
/freebsd-11-stable/contrib/ntp/sntp/unity/auto/ |
H A D | colour_prompt.rb | 92 def colour_puts(role,str) ColourCommandLine.new.out_c(:puts, role, str) end 93 def colour_print(role,str) ColourCommandLine.new.out_c(:print, role, str) end
|
/freebsd-11-stable/contrib/ipfilter/lib/ |
H A D | load_dstlistnode.c | 17 load_dstlistnode(role, name, node, iocfunc) 18 int role; 35 op.iplo_unit = role;
|
H A D | load_poolnode.c | 19 load_poolnode(role, name, node, ttl, iocfunc) 20 int role; 34 op.iplo_unit = role;
|
/freebsd-11-stable/contrib/openbsm/bin/auditdistd/ |
H A D | subr.h | 45 const char *role2str(int role);
|
H A D | subr.c | 75 role2str(int role) argument 78 switch (role) {
|
/freebsd-11-stable/usr.sbin/bluetooth/hccontrol/ |
H A D | link_policy.c | 80 (rp.role == NG_HCI_ROLE_MASTER)? "Master" : "Slave", rp.role); 107 /* role */ 111 cp.role = n0? NG_HCI_ROLE_SLAVE : NG_HCI_ROLE_MASTER; 149 (ep->role == NG_HCI_ROLE_MASTER)? "Master" : "Slave", 150 ep->role); 251 "which role the device is performing for a particular Connection Handle.\n" \ 257 "switch_role <BD_ADDR> <role>", 259 "current role the device is performing for a particular connection with\n" \ 261 "for which connection the role switc [all...] |
/freebsd-11-stable/sys/dev/netmap/ |
H A D | netmap_pipe.c | 140 na->role == NM_PIPE_ROLE_MASTER ? '{' : '}'); 642 if (pna->role == NM_PIPE_ROLE_MASTER) 659 int role = 0; local 666 role = NM_PIPE_ROLE_MASTER; 670 role = NM_PIPE_ROLE_SLAVE; 732 if (mna->role == role) { 761 mna->role = NM_PIPE_ROLE_MASTER; 810 sna->role = NM_PIPE_ROLE_SLAVE; 827 if (role [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Syntax/ |
H A D | Tree.cpp | 64 bool syntax::Node::isDetached() const { return role() == NodeRole::Detached; } 71 assert(Child->role() == NodeRole::Detached); 87 assert(N->role() != NodeRole::Detached && "Roles must be set"); 88 // FIXME: sanity-check the role. 150 if (N->role() == syntax::NodeRole::Detached) 257 if (C->role() == R)
|
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_hast/ |
H A D | hast_snmp.c | 64 int role; member in struct:hast_snmp_resource 104 static int set_role(const char *resource, int role); 255 set_role(const char *resource, int role) argument 263 nv_add_uint8(nvin, role, "role"); 313 str = nv_get_string(nvout, "role%u", i); 314 res->role = str != NULL ? str2role(str) : HAST_ROLE_UNDEF; 464 value->v.integer = res->role;
|
/freebsd-11-stable/share/examples/hast/ |
H A D | ucarp_down.sh | 88 # Change role to secondary for our resource. 89 out=`hastctl role secondary "${resource}" 2>&1` 91 logger -p local0.error -t hast "Unable to change to role to secondary for resource ${resource}: ${out}."
|
H A D | ucarp_up.sh | 57 # Change role to primary for our resource. 58 out=`hastctl role primary "${resource}" 2>&1` 60 logger -p local0.error -t hast "Unable to change to role to primary for resource ${resource}: ${out}."
|
/freebsd-11-stable/sys/dev/isp/ |
H A D | isp_ioctl.h | 55 * role that was passed in (the old role will be returned). It almost 68 * Get the current adapter role 116 role : 2, member in struct:isp_fc_device
|
/freebsd-11-stable/sys/contrib/ck/include/ |
H A D | ck_barrier.h | 116 int role; member in struct:ck_barrier_tournament_round
|
/freebsd-11-stable/contrib/wpa/wpa_supplicant/ |
H A D | p2p_supplicant_sd.c | 482 u8 role; local 504 role = *pos++; 505 wpa_printf(MSG_DEBUG, "P2P: WSD for device role 0x%x", role); 507 /* TODO: role specific handling */ 1033 static void wfd_add_sd_req_role(struct wpabuf *tlvs, u8 id, u8 role, argument 1045 wpabuf_put_u8(tlvs, role); 1067 const u8 *dst, const char *role) 1074 subelems = os_strchr(role, ' '); 1083 if (os_strstr(role, "[sourc 1066 wpas_p2p_sd_request_wifi_display(struct wpa_supplicant *wpa_s, const u8 *dst, const char *role) argument [all...] |
/freebsd-11-stable/contrib/wpa/wpa_supplicant/dbus/ |
H A D | dbus_new_handlers_wps.c | 25 int role; /* 0 - not set, 1 - enrollee, 2 - registrar */ member in struct:wps_start_params 52 params->role = 1; 54 params->role = 2; 56 wpa_printf(MSG_DEBUG, "dbus: WPS.Start - Unknown role %s", val); 217 * information about role (enrollee or registrar), authorization method 254 "dbus: WPS.Start - Pin required for registrar role"); 256 message, "Pin required for registrar role."); 268 if (params.role == 0) { 272 } else if (params.role == 2) { 275 "dbus: WPS.Start - Pin required for registrar role"); [all...] |
/freebsd-11-stable/sys/dev/ocs_fc/ |
H A D | ocs_pci.c | 323 uint32_t i = 0, role = 0; local 338 role = (ocs->enable_ini)? KNOB_ROLE_INITIATOR: 0 | 342 fcp->role = role; 349 fcp->role = role;
|
H A D | ocs_els.h | 53 extern ocs_io_t *ocs_els_io_alloc(ocs_node_t *node, uint32_t reqlen, ocs_els_role_e role); 54 extern ocs_io_t *ocs_els_io_alloc_size(ocs_node_t *node, uint32_t reqlen, uint32_t rsplen, ocs_els_role_e role);
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/Syntax/ |
H A D | Tree.h | 83 NodeRole role() const { return static_cast<NodeRole>(Role); } function in class:clang::syntax::NodeKind 167 /// Find the first node with a corresponding role.
|