/freebsd-10-stable/contrib/ipfilter/tools/ |
H A D | ippool.c | 81 fprintf(stderr, "\t-a [-dnv] [-m <name>] [-o <role>] [-t type] [-T ttl] -i <ipaddr>[/netmask]\n"); 82 fprintf(stderr, "\t-A [-dnv] [-m <name>] [-o <role>] [-S <seed>] [-t <type>]\n"); 84 fprintf(stderr, "\t-F [-dv] [-o <role>] [-t <type>]\n"); 86 fprintf(stderr, "\t-r [-dnv] [-m <name>] [-o <role>] [-t type] -i <ipaddr>[/netmask]\n"); 87 fprintf(stderr, "\t-R [-dnv] [-m <name>] [-o <role>] [-t <type>]\n"); 152 int err = 0, c, ipset, role, type = IPLT_POOL, ttl = 0; local 159 role = IPL_LOGIPF; 171 if (setnodeaddr(type, role, ptr, optarg) == 0) 183 "cannot set role after ip address\n"); 186 role 267 int type, role, c, err; local 412 int c, type, role, live_kernel; local 535 int c, role, type, arg; local 601 int role; local 659 int c, role, type, live_kernel; local 1033 setnodeaddr(int type, int role, void *ptr, char *arg) argument [all...] |
H A D | ippool_y.y | 89 %type <num> role table inout unit dstopts weighting 106 line: table role ipftree eol { ip_pool_node_t *n; 117 | table role ipfhash eol { iphtent_t *h; 128 | groupmap role number ipfgroup eol 184 role: IPT_ROLE '=' unit { $$ = $3; } label 588 { "role", IPT_ROLE },
|
/freebsd-10-stable/sbin/hastd/ |
H A D | control.h | 43 void control_set_role(struct hast_resource *res, uint8_t role);
|
H A D | subr.h | 53 const char *role2str(int role);
|
H A D | control.c | 75 uint8_t role, struct hast_resource *res, const char *name, unsigned int no) 98 /* Send previous role back. */ 99 nv_add_string(nvout, role2str(res->hr_role), "role%u", no); 102 if (role == res->hr_role) 106 pjdlog_info("Role changed to %s.", role2str(role)); 108 /* Change role to the new one. */ 110 res->hr_role = role; 114 * If previous role was primary or secondary we have to kill process 135 if (role == HAST_ROLE_PRIMARY) 138 hook_exec(res->hr_exec, "role", re 74 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 143 control_set_role(struct hast_resource *res, uint8_t role) argument 312 uint8_t cmd, role; local [all...] |
H A D | subr.c | 138 role2str(int role) argument 141 switch (role) {
|
/freebsd-10-stable/etc/rc.d/ |
H A D | hastd | 25 ${hastctl} role init all
|
/freebsd-10-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-10-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-10-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-10-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 - Uknown role %s", val); 219 * information about role (enrollee or registrar), authorization method 252 if (params.role == 0) { 256 } else if (params.role == 1 && params.type == 0) { 260 } else if (params.role == 2 && params.pin == NULL) { 262 "registrar role"); 264 message, "Pin required for registrar role [all...] |
/freebsd-10-stable/usr.sbin/bluetooth/hccontrol/ |
H A D | link_policy.c | 77 (rp.role == NG_HCI_ROLE_MASTER)? "Master" : "Slave", rp.role); 104 /* role */ 108 cp.role = n0? NG_HCI_ROLE_SLAVE : NG_HCI_ROLE_MASTER; 146 (ep->role == NG_HCI_ROLE_MASTER)? "Master" : "Slave", 147 ep->role); 248 "which role the device is performing for a particular Connection Handle.\n" \ 254 "switch_role <BD_ADDR> <role>", 256 "current role the device is performing for a particular connection with\n" \ 258 "for which connection the role switc [all...] |
/freebsd-10-stable/sys/dev/netmap/ |
H A D | netmap_pipe.c | 519 if (pna->role == NR_REG_PIPE_MASTER) 532 int role = nmr->nr_flags & NR_REG_MASK; local 537 if (role != NR_REG_PIPE_MASTER && role != NR_REG_PIPE_SLAVE) { 541 role = nmr->nr_flags & NR_REG_MASK; 566 if (mna->role == role) { 596 mna->role = NR_REG_PIPE_MASTER; 635 sna->role = NR_REG_PIPE_SLAVE; 649 if (role [all...] |
/freebsd-10-stable/usr.sbin/bsnmpd/modules/snmp_hast/ |
H A D | hast_snmp.c | 62 int role; member in struct:hast_snmp_resource 102 static int set_role(const char *resource, int role); 253 set_role(const char *resource, int role) argument 261 nv_add_uint8(nvin, role, "role"); 311 str = nv_get_string(nvout, "role%u", i); 312 res->role = str != NULL ? str2role(str) : HAST_ROLE_UNDEF; 462 value->v.integer = res->role;
|
/freebsd-10-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-10-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
|
H A D | isp_sbus.c | 141 int tval, isp_debug, role, ispburst, default_id; local 148 role = 0; 150 "role", &role) == 0 && 151 ((role & ~(ISP_ROLE_INITIATOR|ISP_ROLE_TARGET)) == 0)) { 152 device_printf(dev, "setting role to 0x%x\n", role); 154 role = ISP_DEFAULT_ROLES; 181 ISP_FC_PC(isp, 0)->def_role = role;
|
/freebsd-10-stable/sys/dev/aic7xxx/ |
H A D | aic79xx.h | 393 * As initialized by the host driver for the initiator role, this area 397 * For the target role, the contents of this area do not change, but 398 * still serve a different purpose than for the initiator role. See 788 * for each initiator<->target mapping. For the initiator role we pretend 790 * negotiation is the same regardless of role. 1359 role_t role; /* member in struct:ahd_devinfo 1406 u_int tag, role_t role); 1468 role_t role, uint32_t status, 1479 role_t role, uint32_t status); 1496 role_t role); [all...] |
H A D | aic7xxx.h | 255 * the initiator role to allow multi-scsi-id target mode 257 * ID as our initiator role if we allow initiator operation. 386 * As initialized by the host driver for the initiator role, this area 390 * For the target role, the contents of this area do not change, but 391 * still serve a different purpose than for the initiator role. See 736 * for each initiator<->target mapping. For the initiator role we pretend 738 * negotiation is the same regardless of role. 1152 role_t role; /* member in struct:ahc_devinfo 1215 u_int tag, role_t role); 1255 role_t role, uint32_ [all...] |
H A D | aic7xxx.c | 160 role_t role); 713 if (devinfo.role == ROLE_INITIATOR) { 1653 u_int *period, u_int *ppr_options, role_t role) 1682 if (role == ROLE_TARGET) 1806 u_int *offset, int wide, role_t role) 1823 if (role == ROLE_TARGET) 1836 u_int *bus_width, role_t role) 1851 if (role == ROLE_TARGET) 2186 role_t role; local 2190 role 1651 ahc_devlimited_syncrate(struct ahc_softc *ahc, struct ahc_initiator_tinfo *tinfo, u_int *period, u_int *ppr_options, role_t role) argument 1803 ahc_validate_offset(struct ahc_softc *ahc, struct ahc_initiator_tinfo *tinfo, struct ahc_syncrate *syncrate, u_int *offset, int wide, role_t role) argument 1835 ahc_validate_width(struct ahc_softc *ahc, struct ahc_initiator_tinfo *tinfo, u_int *bus_width, role_t role) argument 2233 ahc_compile_devinfo(struct ahc_devinfo *devinfo, u_int our_id, u_int target, u_int lun, char channel, role_t role) argument 2258 role_t role; local 5329 ahc_match_scb(struct ahc_softc *ahc, struct scb *scb, int target, char channel, int lun, u_int tag, role_t role) argument 5436 ahc_search_qinfifo(struct ahc_softc *ahc, int target, char channel, int lun, u_int tag, role_t role, uint32_t status, ahc_search_action action) argument 5904 ahc_abort_scbs(struct ahc_softc *ahc, int target, char channel, int lun, u_int tag, role_t role, uint32_t status) argument [all...] |
/freebsd-10-stable/contrib/wpa/wpa_supplicant/ |
H A D | notify.h | 92 const char *role);
|
/freebsd-10-stable/sys/netgraph/bluetooth/hci/ |
H A D | ng_hci_var.h | 138 ng_hci_node_role_switch_ep role_switch; /* role switch */ 186 u_int8_t role; /* MASTER/SLAVE */ member in struct:ng_hci_unit_con
|