History log of /openbmc/phosphor-networkd/src/ (Results 126 – 150 of 284)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
186099d104-Nov-2022 William A. Kennington III <wak@google.com>

util: Remove unused isValidPrefix

Change-Id: I0e853148b82af5e0261a7b046e4258f84d37bfdd
Signed-off-by: William A. Kennington III <wak@google.com>

c9f672e404-Nov-2022 William A. Kennington III <wak@google.com>

ethernet_interface: Normalize IPs for nameservers

Change-Id: I44956d59aa7a93468c84715da16c39df50efb2d9
Signed-off-by: William A. Kennington III <wak@google.com>

f6f0cf3904-Nov-2022 William A. Kennington III <wak@google.com>

ethernet_interface: Normalize IP for gateway

This makes sure gateways that are the same value but different string
representations are ignored.

Change-Id: I48cee3487276edce09ae2ee122d387d6a2a39d68

ethernet_interface: Normalize IP for gateway

This makes sure gateways that are the same value but different string
representations are ignored.

Change-Id: I48cee3487276edce09ae2ee122d387d6a2a39d68
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

59e5b91d02-Nov-2022 William A. Kennington III <wak@google.com>

ipaddress: Refactor object creation

Change-Id: Icae934e3dc88d596812b75a31598636ae7b95823
Signed-off-by: William A. Kennington III <wak@google.com>

55bdc36c04-Nov-2022 William A. Kennington III <wak@google.com>

types: Make all address conversion constexpr

Change-Id: If9d5e14e37e868c9a567c567ab8cb64913564a4f
Signed-off-by: William A. Kennington III <wak@google.com>

dd7c7b3404-Nov-2022 William A. Kennington III <wak@google.com>

types: Add constexpr int encoder

Change-Id: I4a3117f442c5a829faffbb5897eb2a0ea013f63a
Signed-off-by: William A. Kennington III <wak@google.com>

ead7198c04-Nov-2022 William A. Kennington III <wak@google.com>

types: Add constexpr InAddrAny / IfAddr parser

Change-Id: I08d27f3e52a703d2f3c45a886c69b081ffd69558
Signed-off-by: William A. Kennington III <wak@google.com>

ec496a8604-Nov-2022 William A. Kennington III <wak@google.com>

types: Add constexpr in6_addr parser

Change-Id: Icd9c42e22e0eb3dcde86b7ba65208975813e7643
Signed-off-by: William A. Kennington III <wak@google.com>

4f07798e04-Nov-2022 William A. Kennington III <wak@google.com>

types: Better IPv6 RFC5952 support

This makes sure our text output better conforms to standards.

Change-Id: I6d9ed5490d11b5e59c3c1bccabe0520fddeb6b56
Signed-off-by: William A. Kennington III <wak@g

types: Better IPv6 RFC5952 support

This makes sure our text output better conforms to standards.

Change-Id: I6d9ed5490d11b5e59c3c1bccabe0520fddeb6b56
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

df1178e003-Nov-2022 William A. Kennington III <wak@google.com>

types: Add constexpr in_addr parser

Change-Id: Id24af0b9722b3ed68ab7dc5175c841e86b94ab64
Signed-off-by: William A. Kennington III <wak@google.com>

b01d08fd03-Nov-2022 William A. Kennington III <wak@google.com>

types: Add constexpr ether_addr parser

Change-Id: I0ad21490239ad9b0f25dfff84726b16a9cfda927
Signed-off-by: William A. Kennington III <wak@google.com>

238ef99203-Nov-2022 William A. Kennington III <wak@google.com>

types: Add constexpr numeric decode

This will make it possible to implement constexpr address parsing.

Change-Id: I6fe5c8a8d517eb86f3596be1ecd50b98c5347e51
Signed-off-by: William A. Kennington III

types: Add constexpr numeric decode

This will make it possible to implement constexpr address parsing.

Change-Id: I6fe5c8a8d517eb86f3596be1ecd50b98c5347e51
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

b9d7cbac08-Nov-2022 William A. Kennington III <wak@google.com>

types: Add a type for interface addresses

This will be used to uniquely identify them.

Change-Id: Iabd43520ae5060e4f5dfe18e549f96f6b910b3c1
Signed-off-by: William A. Kennington III <wak@google.com>

71de63a208-Nov-2022 William A. Kennington III <wak@google.com>

types: Add constexpr endianness functions

Change-Id: I3ceff6cbd6d1991dc6131d266fa61dbf76595fdb
Signed-off-by: William A. Kennington III <wak@google.com>

becda1aa03-Nov-2022 William A. Kennington III <wak@google.com>

types: hash_multi should take const refs

Change-Id: I933c13093e41aaecd68ed3e165df21c0e6973ead
Signed-off-by: William A. Kennington III <wak@google.com>

86eb8b7002-Nov-2022 William A. Kennington III <wak@google.com>

types: Simplify ostream operators

We don't really care if it derives from ostream, just take any type.

Change-Id: Ifab0b7bd4476ddecc7fe80923b82f012a2974f47
Signed-off-by: William A. Kennington III

types: Simplify ostream operators

We don't really care if it derives from ostream, just take any type.

Change-Id: Ifab0b7bd4476ddecc7fe80923b82f012a2974f47
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

653114fc02-Nov-2022 William A. Kennington III <wak@google.com>

types: Add hash function for IPs

Change-Id: I232443d68aee32eb1d52c98ceecccd43700397a1
Signed-off-by: William A. Kennington III <wak@google.com>

442d9e5c20-Oct-2022 Jian Zhang <zhangjian.3032@bytedance.com>

util: Add data ptr check to avoid crash

When the eth device is down, the data ptr is NULL,
so we should add a check to avoid crash.

Tested:
1. Let ncsi device down
`~# ip link set eth0 down`

2. Se

util: Add data ptr check to avoid crash

When the eth device is down, the data ptr is NULL,
so we should add a check to avoid crash.

Tested:
1. Let ncsi device down
`~# ip link set eth0 down`

2. Send a oem command to ncsi device, no crash.
```
ncsi-netlink -x 3 -p 0 -c 0 --oem-payload 00
Send OEM Command, CHANNEL : 0, PACKAGE : 0, IFINDEX: 3
Payload : 00
Response: No data
Failed to receive the message , RC : -1
```

Signed-off-by: Jian Zhang <zhangjian.3032@bytedance.com>
Change-Id: I1e1119f7891732a87b56a345dad8ec3549868bf7

show more ...

85dc57a507-Nov-2022 William A. Kennington III <wak@google.com>

network_manager: Make it possible to reload without refresh

Change-Id: I2bef32285cd620c93914907eb74864c5801258bf
Signed-off-by: William A. Kennington III <wak@google.com>

a7344c3a31-Oct-2022 William A. Kennington III <wak@google.com>

rtnetlink: Separate out gateway parsing

This same logic will get re-used by other code in a future change.

Change-Id: I28218b9defb64c15f24df989f46db255e6ce4045
Signed-off-by: William A. Kennington

rtnetlink: Separate out gateway parsing

This same logic will get re-used by other code in a future change.

Change-Id: I28218b9defb64c15f24df989f46db255e6ce4045
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

67b09da431-Oct-2022 William A. Kennington III <wak@google.com>

network_manager: Add a mapping of interface ids

Change-Id: Ib0543b53c8cce77a0cedd49a4094c20ad1a28312
Signed-off-by: William A. Kennington III <wak@google.com>

226cadaf28-Oct-2022 William A. Kennington III <wak@google.com>

rtnetlink_server: Also monitor links

Change-Id: Id172ae0390d23066940edba0c75e6a866ea71132
Signed-off-by: William A. Kennington III <wak@google.com>

c8e992f824-Oct-2022 William A. Kennington III <wak@google.com>

rtnetlink: Remove unnecessary copy

Change-Id: I14268a99b8587c6b46a36023d7f31e132345f6db
Signed-off-by: William A. Kennington III <wak@google.com>

2bd35d6726-Oct-2022 William A. Kennington III <wak@google.com>

routing_table: Cleanup types to avoid unnecessary conversions

Change-Id: I36d430b91d606df0afdae70e2da18ae750b1df04
Signed-off-by: William A. Kennington III <wak@google.com>

09f3a4ad25-Oct-2022 William A. Kennington III <wak@google.com>

ethernet_interface: Merge VLAN into EthernetInterface

This simplifies the ethernet interface as it codepended on the vlan
interface to make VLANs. It also removes the naming dependency and
tracks VL

ethernet_interface: Merge VLAN into EthernetInterface

This simplifies the ethernet interface as it codepended on the vlan
interface to make VLANs. It also removes the naming dependency and
tracks VLANs by adapter type and parent indexes.

Change-Id: I8db09cc2474472e6d4a06c6be5cf0440ee48d132
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

12345678910>>...12