Home
last modified time | relevance | path

Searched refs:duid (Results 1 – 25 of 429) sorted by relevance

12345678910>>...18

/dports/net/kea/kea-2.0.1/src/lib/dhcpsrv/tests/
H A Dcfg_duid_unittest.cc187 DuidPtr duid; in TEST_F() local
189 ASSERT_TRUE(duid); in TEST_F()
193 duid->toText()); in TEST_F()
201 EXPECT_EQ(*current_duid, *duid); in TEST_F()
213 DuidPtr duid; in TEST_F() local
215 ASSERT_TRUE(duid); in TEST_F()
226 EXPECT_EQ(*current_duid, *duid); in TEST_F()
238 DuidPtr duid; in TEST_F() local
240 ASSERT_TRUE(duid); in TEST_F()
264 DuidPtr duid; in TEST_F() local
[all …]
/dports/net/kea/kea-2.0.1/src/lib/dhcp/tests/
H A Dduid_factory_unittest.cc233 DuidPtr duid = factory_ref.get(); in testLLT() local
234 ASSERT_TRUE(duid); in testLLT()
269 DuidPtr duid = factory_ref.get(); in testEN() local
270 ASSERT_TRUE(duid); in testEN()
271 ASSERT_GE(duid->getDuid().size(), 8); in testEN()
303 DuidPtr duid = factory_ref.get(); in testLL() local
304 ASSERT_TRUE(duid); in testLL()
472 DuidPtr duid; in TEST_F() local
474 ASSERT_TRUE(duid); in TEST_F()
487 DuidPtr duid; in TEST_F() local
[all …]
H A Dduid_unittest.cc128 scoped_ptr<DUID> duid; in TEST() local
131 duid.reset(new DUID(DUID::fromText("00:01:02:03:04:05:06"))) in TEST()
133 EXPECT_EQ("00:01:02:03:04:05:06", duid->toText()); in TEST()
138 EXPECT_EQ("00:aa:bb:cd:ee:ef:ab", duid->toText()); in TEST()
141 duid.reset(new DUID(DUID::fromText("00:a:bb:D:ee:EF:ab"))) in TEST()
143 EXPECT_EQ("00:0a:bb:0d:ee:ef:ab", duid->toText()); in TEST()
146 duid.reset(new DUID(DUID::fromText("00::bb:D:ee:EF:ab"))), in TEST()
160 DUID duid(data1, sizeof(data1)); in TEST() local
161 EXPECT_EQ("00:01:02:03:04:ff:fe", duid.toText()); in TEST()
179 DUID duid(data1, sizeof(data1)); in TEST() local
[all …]
/dports/net/kea/kea-2.0.1/src/bin/dhcp6/
H A Dclient_handler.cc40 ClientHandler::lookup(const DuidPtr& duid) { in lookup() argument
42 if (!duid) { in lookup()
46 auto it = clients_.find(duid->getDuid()); in lookup()
65 ClientHandler::del(const DuidPtr& duid) { in del() argument
67 if (!duid) { in del()
72 clients_.erase(duid->getDuid()); in del()
96 if (!duid) { in tryLock()
100 if (duid->getDuid().empty()) { in tryLock()
107 client_.reset(new Client(query, duid)); in tryLock()
112 holder = lookup(duid); in tryLock()
[all …]
/dports/net/kea/kea-2.0.1/src/bin/dhcp4/
H A Dclient_handler.cc50 ClientHandler::lookup(const DuidPtr& duid) { in lookup() argument
52 if (!duid) { in lookup()
105 ClientHandler::del(const DuidPtr& duid) { in del() argument
107 if (!duid) { in del()
112 clients_client_id_.erase(duid->getDuid()); in del()
180 DuidPtr duid; in tryLock() local
188 if (!duid && !hwaddr) { in tryLock()
197 client_.reset(new Client(query, duid, hwaddr)); in tryLock()
202 if (duid) { in tryLock()
205 holder_id = lookup(duid); in tryLock()
[all …]
/dports/net/rpki-client/rpki-client-portable-7.6/openbsd/src/lib/libutil/
H A Dduid.c24 isduid(const char *duid, int dflags) in isduid() argument
30 if (!((strlen(duid) == 16 && (dflags & OPENDEV_PART)) || in isduid()
31 (strlen(duid) == 18 && duid[16] == '.'))) in isduid()
36 c = duid[i]; in isduid()
/dports/net/isc-dhcp44-client/dhcp-4.4.2-P1/keama/tests/
H A Dduid2.err1 # two server duid config
3 # EN server duid declaration
4 server-duid en 2495 "enterprise-specific-identifier-1234";
6 # LL server duid declaration
7 server-duid ll ethernet 00:16:6F:49:7D:9B;
H A Dduidll6.in61 # LL server duid config
3 # LL server duid declaration
4 server-duid ll;
H A Dduidllt6.in61 # LLT server duid config
3 # LLT server duid declaration
4 server-duid llt;
H A Dduidnoid.err1 # bad (no identifier) numeric server duid config
3 # server duid declaration
4 server-duid 9;
/dports/net/isc-dhcp44-server/dhcp-4.4.2-P1/keama/tests/
H A Dduid2.err1 # two server duid config
3 # EN server duid declaration
4 server-duid en 2495 "enterprise-specific-identifier-1234";
6 # LL server duid declaration
7 server-duid ll ethernet 00:16:6F:49:7D:9B;
H A Dduidllt6.in61 # LLT server duid config
3 # LLT server duid declaration
4 server-duid llt;
H A Dduidll6.in61 # LL server duid config
3 # LL server duid declaration
4 server-duid ll;
H A Dduidnoid.err1 # bad (no identifier) numeric server duid config
3 # server duid declaration
4 server-duid 9;
/dports/net/isc-dhcp44-relay/dhcp-4.4.2-P1/keama/tests/
H A Dduid2.err1 # two server duid config
3 # EN server duid declaration
4 server-duid en 2495 "enterprise-specific-identifier-1234";
6 # LL server duid declaration
7 server-duid ll ethernet 00:16:6F:49:7D:9B;
H A Dduidllt6.in61 # LLT server duid config
3 # LLT server duid declaration
4 server-duid llt;
H A Dduidll6.in61 # LL server duid config
3 # LL server duid declaration
4 server-duid ll;
H A Dduidnoid.err1 # bad (no identifier) numeric server duid config
3 # server duid declaration
4 server-duid 9;
/dports/net/kea/kea-2.0.1/src/share/yang/modules/
H A Dietf-dhcpv6-types@2018-09-04.yang53 grouping duid {
67 choice duid-type {
68 default duid-unknown;
70 case duid-llt {
74 leaf duid-llt-hardware-type {
78 leaf duid-llt-time {
89 case duid-en {
98 leaf duid-en-identifier {
104 case duid-ll {
116 case duid-uuid {
[all …]
/dports/net/scapy/scapy-2.4.5/scapy/layers/
H A Ddhcp6.py1519 self.duid = duid
1598 duid = p[DHCP6OptServerId].duid
1599 if not isinstance(duid, type(self.duid)):
1601 if raw(duid) != raw(self.duid):
1663 duid = p[DHCP6OptServerId].duid
1664 if not isinstance(duid, type(self.duid)):
1666 if raw(duid) != raw(self.duid):
1745 resp /= DHCP6OptServerId(duid=self.duid)
1756 resp /= DHCP6OptServerId(duid=self.duid)
1783 resp /= DHCP6OptServerId(duid=self.duid)
[all …]
/dports/net/kamailio/kamailio-5.4.5/src/modules/dispatcher/
H A Dds_ht.c37 ds_cell_t *ds_cell_new(str *cid, str *duid, int dset, unsigned int cellid) in ds_cell_new() argument
42 msize = sizeof(ds_cell_t) + (cid->len + duid->len + 2) * sizeof(char); in ds_cell_new()
58 cell->duid.len = duid->len; in ds_cell_new()
59 cell->duid.s = cell->callid.s + cell->callid.len + 1; in ds_cell_new()
60 memcpy(cell->duid.s, duid->s, duid->len); in ds_cell_new()
61 cell->duid.s[duid->len] = '\0'; in ds_cell_new()
166 int ds_add_cell(ds_ht_t *dsht, str *cid, str *duid, int dset) in ds_add_cell() argument
202 cell = ds_cell_new(cid, duid, dset, hid); in ds_add_cell()
335 LM_ERR("\tduid: %.*s\n", it->duid.len, it->duid.s); in ds_ht_dbg()
/dports/net/dhcp6/wide-dhcpv6-20080615.2/
H A Dcommon.h160 extern int get_duid __P((char *, struct duid *));
174 extern char *duidstr __P((struct duid *));
177 extern int duidcpy __P((struct duid *, struct duid *));
178 extern int duidcmp __P((struct duid *, struct duid *));
179 extern void duidfree __P((struct duid *));
/dports/comms/dsd/dsd-1.6.0/
H A Ddsd_frame.c48 char duid[3]; in processFrame() local
52 duid[2] = 0; in processFrame()
225 duid[i] = getDibit (opts, state) + 48; in processFrame()
229 if (strcmp (duid, "00") == 0) in processFrame()
246 else if (strcmp (duid, "11") == 0) in processFrame()
265 else if (strcmp (duid, "22") == 0) in processFrame()
297 else if (strcmp (duid, "33") == 0) in processFrame()
322 else if (strcmp (duid, "03") == 0) in processFrame()
341 else if (strcmp (duid, "13") == 0) in processFrame()
358 else if (strcmp (duid, "30") == 0) in processFrame()
[all …]
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/github.com/google/gopacket/layers/
H A Ddhcpv6.go323 duid := "Type: " + d.Type.String() + ", "
325duid += fmt.Sprintf("HardwareType: %v, Time: %v, LinkLayerAddress: %v", d.HardwareType, d.Time, d.…
327 duid += fmt.Sprintf("EnterpriseNumber: %v, Identifier: %v", d.EnterpriseNumber, d.Identifier)
329 duid += fmt.Sprintf("HardwareType: %v, LinkLayerAddress: %v", d.HardwareType, d.LinkLayerAddress)
331 return duid
335 duid := &DHCPv6DUID{}
336 err := duid.DecodeFromBytes(data)
340 return duid, nil
/dports/databases/mongodb42-tools/mongo-tools-r4.2.17/vendor/github.com/google/gopacket/layers/
H A Ddhcpv6.go323 duid := "Type: " + d.Type.String() + ", "
325duid += fmt.Sprintf("HardwareType: %v, Time: %v, LinkLayerAddress: %v", d.HardwareType, d.Time, d.…
327 duid += fmt.Sprintf("EnterpriseNumber: %v, Identifier: %v", d.EnterpriseNumber, d.Identifier)
329 duid += fmt.Sprintf("HardwareType: %v, LinkLayerAddress: %v", d.HardwareType, d.LinkLayerAddress)
331 return duid
335 duid := &DHCPv6DUID{}
336 err := duid.DecodeFromBytes(data)
340 return duid, nil

12345678910>>...18