Home
last modified time | relevance | path

Searched refs:cfg_type (Results 1 – 14 of 14) sorted by relevance

/openbsd-src/sbin/isakmpd/
H A Disakmp_cfg.c131 ie->cfg_type = ISAKMP_CFG_SET; in cfg_initiator_send_ATTR()
183 ie->cfg_type = ISAKMP_CFG_REQUEST; in cfg_initiator_send_ATTR()
256 SET_ISAKMP_ATTRIBUTE_TYPE(attrp, ie->cfg_type); in cfg_initiator_send_ATTR()
271 if (ie->cfg_type == ISAKMP_CFG_REQUEST) { in cfg_initiator_send_ATTR()
379 if (ie->cfg_type != ISAKMP_CFG_SET) { in cfg_initiator_recv_ATTR()
388 if (ie->cfg_type != ISAKMP_CFG_REQUEST) { in cfg_initiator_recv_ATTR()
408 switch (ie->cfg_type) { in cfg_initiator_recv_ATTR()
479 ie->cfg_type = attrp->p[ISAKMP_ATTRIBUTE_TYPE_OFF]; in cfg_responder_recv_ATTR()
481 switch (ie->cfg_type) { in cfg_responder_recv_ATTR()
489 "unexpected configuration message type %d", ie->cfg_type); in cfg_responder_recv_ATTR()
[all …]
H A Dipsec.h103 u_int16_t cfg_type; member
/openbsd-src/sbin/iked/
H A Dradius.c287 for (i = 0; radius_cfgmaps[i].cfg_type != 0; i++) { in iked_radius_on_event()
289 iked_radius_config(req, pkt, cfgmap->cfg_type, in iked_radius_on_event()
294 iked_radius_config(req, pkt, cfgmap->cfg_type, in iked_radius_on_event()
530 int cfg_type, uint32_t vendor_id, uint8_t attr_type) in iked_radius_config()
543 if (ikecfg->cfg_type == cfg_type && in iked_radius_config()
544 ikecfg->cfg_type != IKEV2_CFG_INTERNAL_IP4_ADDRESS) in iked_radius_config()
547 switch (cfg_type) { in iked_radius_config()
563 if (cfg_type == IKEV2_CFG_INTERNAL_IP4_NETMASK) { in iked_radius_config()
588 if (cfg_type in iked_radius_config()
508 iked_radius_config(struct iked_radserver_req * req,const RADIUS_PACKET * pkt,int cfg_type,uint32_t vendor_id,uint8_t attr_type) iked_radius_config() argument
[all...]
H A Dikev2_pld.c1892 int cfg_type; in ikev2_pld_cp() local
1913 print_map(betoh16(cfg->cfg_type), ikev2_cfg_map), in ikev2_pld_cp()
1914 betoh16(cfg->cfg_type), in ikev2_pld_cp()
1929 cfg_type = betoh16(cfg->cfg_type); in ikev2_pld_cp()
1930 switch (cfg_type) { in ikev2_pld_cp()
1944 switch(cfg_type) { in ikev2_pld_cp()
1969 switch(cfg_type) { in ikev2_pld_cp()
1999 switch(cfg_type) { in ikev2_pld_cp()
2022 switch(cfg_type) { in ikev2_pld_cp()
H A Dconfig.c1251 config_setradcfgmap(struct iked *env, int cfg_type, uint32_t vendor_id, in config_setradcfgmap()
1259 cfgmap.cfg_type = cfg_type; in config_setradcfgmap()
1283 for (i = 0; radius_cfgmaps[i].cfg_type != 0; i++) { in config_getradcfgmap()
1303 cfgmap->cfg_type = cfgmap0->cfg_type; in config_getradcfgmap()
1250 config_setradcfgmap(struct iked * env,int cfg_type,uint32_t vendor_id,uint8_t attr_type) config_setradcfgmap() argument
H A Dprint.c233 print_xf(cfg->cfg_type, in print_policy()
H A Dikev2.h521 uint16_t cfg_type; /* first bit must be set to zero */ member
H A Dikev2.c2517 switch (ikecfg->cfg_type) { in ikev2_add_cp()
2532 cfg->cfg_type = htobe16(ikecfg->cfg_type); in ikev2_add_cp()
2535 switch (ikecfg->cfg_type) { in ikev2_add_cp()
2543 in4 = ((ikecfg->cfg_type == in ikev2_add_cp()
2557 if (ikecfg->cfg_type == IKEV2_CFG_INTERNAL_IP4_ADDRESS) { in ikev2_add_cp()
2564 if (ikecfg->cfg_type == IKEV2_CFG_INTERNAL_IP4_NETMASK) in ikev2_add_cp()
2592 in6 = ((ikecfg->cfg_type == in ikev2_add_cp()
2612 if (ikecfg->cfg_type == IKEV2_CFG_INTERNAL_IP6_ADDRESS) in ikev2_add_cp()
2626 cfg->cfg_type in ikev2_add_cp()
[all...]
H A Diked.h228 uint16_t cfg_type; member
764 uint16_t cfg_type;
762 uint16_t cfg_type; global() member
H A Dparse.y3123 cfg->cfg_type = ipa->type; in create_ike()
/openbsd-src/usr.bin/dig/lib/isccfg/include/isccfg/
H A Dcfg.h53 typedef struct cfg_type cfg_type_t;
H A Dgrammar.h61 struct cfg_type { struct
/openbsd-src/sys/dev/pci/
H A Dvirtio_pcireg.h46 uint8_t cfg_type; /* Identifies the structure. */ member
H A Dvirtio_pci.c95 int virtio_pci_find_cap(struct virtio_pci_softc *sc, int cfg_type, void *buf, int buflen);
390 __func__, offset, v.vcap.cap_len, v.vcap.cfg_type, v.vcap.bar, in virtio_pci_find_cap()
398 virtio_pci_find_cap(struct virtio_pci_softc *sc, int cfg_type, void *buf, int buflen) in virtio_pci_find_cap()
417 if (v->vcap.cfg_type == cfg_type)
377 virtio_pci_find_cap(struct virtio_pci_softc * sc,int cfg_type,void * buf,int buflen) virtio_pci_find_cap() argument