cfg_type
config_setradcfgmap(struct iked *env, int cfg_type, uint32_t vendor_id,
cfgmap.cfg_type = cfg_type;
for (i = 0; radius_cfgmaps[i].cfg_type != 0; i++) {
cfgmap->cfg_type = cfgmap0->cfg_type;
uint16_t cfg_type;
uint16_t cfg_type;
switch (ikecfg->cfg_type) {
cfg->cfg_type = htobe16(ikecfg->cfg_type);
switch (ikecfg->cfg_type) {
in4 = ((ikecfg->cfg_type ==
if (ikecfg->cfg_type == IKEV2_CFG_INTERNAL_IP4_ADDRESS) {
if (ikecfg->cfg_type == IKEV2_CFG_INTERNAL_IP4_NETMASK)
in6 = ((ikecfg->cfg_type ==
if (ikecfg->cfg_type == IKEV2_CFG_INTERNAL_IP6_ADDRESS)
cfg->cfg_type = htobe16(IKEV2_CFG_INTERNAL_IP4_NETMASK);
if ((family == AF_INET && ikecfg->cfg_type ==
(family == AF_INET6 && ikecfg->cfg_type ==
uint16_t cfg_type; /* first bit must be set to zero */
int cfg_type;
print_map(betoh16(cfg->cfg_type), ikev2_cfg_map),
betoh16(cfg->cfg_type),
cfg_type = betoh16(cfg->cfg_type);
switch (cfg_type) {
switch(cfg_type) {
switch(cfg_type) {
switch(cfg_type) {
switch(cfg_type) {
cfg->cfg_type = ipa->type;
print_xf(cfg->cfg_type,
for (i = 0; radius_cfgmaps[i].cfg_type != 0; i++) {
iked_radius_config(req, pkt, cfgmap->cfg_type,
iked_radius_config(req, pkt, cfgmap->cfg_type,
int cfg_type, uint32_t vendor_id, uint8_t attr_type)
if (ikecfg->cfg_type == cfg_type &&
ikecfg->cfg_type != IKEV2_CFG_INTERNAL_IP4_ADDRESS &&
ikecfg->cfg_type != IKEV2_CFG_INTERNAL_IP6_ADDRESS)
switch (cfg_type) {
if (cfg_type == IKEV2_CFG_INTERNAL_IP4_NETMASK) {
if (cfg_type == IKEV2_CFG_INTERNAL_IP4_ADDRESS) {
} else if ((addr = iked_radius_req_cfgaddr(req, cfg_type)) ==
if (cfg_type == IKEV2_CFG_INTERNAL_IP6_ADDRESS) {
} else if ((addr = iked_radius_req_cfgaddr(req, cfg_type)) ==
iked_radius_req_cfgaddr(struct iked_radserver_req *req, int cfg_type)
req->rr_cfg[req->rr_ncfg].cfg_type = cfg_type;
u_int16_t cfg_type;
ie->cfg_type = ISAKMP_CFG_SET;
ie->cfg_type = ISAKMP_CFG_REQUEST;
SET_ISAKMP_ATTRIBUTE_TYPE(attrp, ie->cfg_type);
if (ie->cfg_type == ISAKMP_CFG_REQUEST) {
if (ie->cfg_type != ISAKMP_CFG_SET) {
if (ie->cfg_type != ISAKMP_CFG_REQUEST) {
switch (ie->cfg_type) {
ie->cfg_type = attrp->p[ISAKMP_ATTRIBUTE_TYPE_OFF];
switch (ie->cfg_type) {
"unexpected configuration message type %d", ie->cfg_type);
switch (ie->cfg_type) {
if (isakmp_sa->initiator ^ (ie->cfg_type == ISAKMP_CFG_REQUEST))
if (cfg_encode_attributes(&ie->attrs, (ie->cfg_type == ISAKMP_CFG_SET ?
__func__, offset, v.vcap.cap_len, v.vcap.cfg_type, v.vcap.bar,
virtio_pci_find_cap(struct virtio_pci_softc *sc, int cfg_type, void *buf, int buflen)
if (v->vcap.cfg_type == cfg_type)
int virtio_pci_find_cap(struct virtio_pci_softc *sc, int cfg_type, void *buf, int buflen);
uint8_t cfg_type; /* Identifies the structure. */
typedef struct cfg_type cfg_type_t;
virtio_pci_add_cap(uint8_t pci_id, uint8_t cfg_type, uint8_t bar_id,
cap.virtio.cfg_type = cfg_type;
switch (cfg_type) {
cfg_type);