Searched refs:SRC_ADDR (Results 1 – 5 of 5) sorted by relevance
/smoltcp-0.9.1/benches/ |
D | bench.rs | 16 const SRC_ADDR: IpAddress = IpAddress::Ipv6(Ipv6Address([ constant 25 const SRC_ADDR: IpAddress = IpAddress::Ipv4(Ipv4Address([192, 168, 1, 1])); constant 52 &SRC_ADDR, in bench_emit_tcp() 73 &SRC_ADDR, in bench_emit_udp()
|
/smoltcp-0.9.1/src/wire/ |
D | udp.rs | 336 const SRC_ADDR: Ipv4Address = Ipv4Address([192, 168, 1, 1]); constant 362 assert!(packet.verify_checksum(&SRC_ADDR.into(), &DST_ADDR.into())); in test_deconstruct() 375 packet.fill_checksum(&SRC_ADDR.into(), &DST_ADDR.into()); in test_construct() 395 packet.fill_checksum(&SRC_ADDR.into(), &DST_ADDR.into()); in test_zero_checksum() 408 assert!(packet.verify_checksum(&SRC_ADDR.into(), &DST_ADDR.into())); in test_no_checksum() 425 &SRC_ADDR.into(), in test_parse() 441 &SRC_ADDR.into(), in test_emit() 456 &SRC_ADDR.into(), in test_checksum_omitted()
|
D | tcp.rs | 1089 const SRC_ADDR: Ipv4Address = Ipv4Address([192, 168, 1, 1]); constant 1125 assert!(packet.verify_checksum(&SRC_ADDR.into(), &DST_ADDR.into())); in test_deconstruct() 1150 packet.fill_checksum(&SRC_ADDR.into(), &DST_ADDR.into()); in test_construct() 1198 &SRC_ADDR.into(), in test_parse() 1214 &SRC_ADDR.into(), in test_emit()
|
D | ipv6.rs | 434 pub const SRC_ADDR: Field = 8..24; constant 542 Address::from_bytes(&data[field::SRC_ADDR]) in src_addr() 619 data[field::SRC_ADDR].copy_from_slice(value.as_bytes()); in set_src_addr()
|
D | ipv4.rs | 299 pub const SRC_ADDR: Field = 12..16; constant 438 Address::from_bytes(&data[field::SRC_ADDR]) in src_addr() 584 data[field::SRC_ADDR].copy_from_slice(value.as_bytes()) in set_src_addr()
|