Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Shadle committed Dec 20, 2024
1 parent 51ce818 commit a313a7c
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 2 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ test = false
[dependencies]
# Local
quilkin-macros = { version = "0.10.0-dev", path = "./crates/macros" }
#quilkin-xdp = { version = "0.1.0", path = "crates/xdp" }
quilkin-xds = {version = "0.10.0-dev", path = "crates/xds" }
quilkin-proto.workspace = true

Expand Down
2 changes: 1 addition & 1 deletion crates/ebpf/rust-toolchain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ components = ["rust-std"]
# The actual target the `l` means little endian, we don't target big endian
targets = ["bpfel-unknown-none"]
# We don't need documentation
profile = "minimal"
profile = "minimal"
16 changes: 16 additions & 0 deletions crates/ebpf/src/ebpf-main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#![no_std]
#![no_main]
#![allow(internal_features)]
Expand Down
16 changes: 16 additions & 0 deletions crates/xdp/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

use xdp::nic::NicIndex;

const PROGRAM: &[u8] = include_bytes!("../bin/packet-router.bin");
Expand Down

0 comments on commit a313a7c

Please sign in to comment.