Skip to content

Commit

Permalink
add gatewayresponder elements
Browse files Browse the repository at this point in the history
  • Loading branch information
jbicket committed Feb 27, 2006
1 parent 964899e commit 230fe9a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions conf/wifi/srcr.click
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,19 @@ gw -> SetSRChecksum -> [0] output;

set_gw :: SetGateway(SEL gw);

gw_reply :: SR1GatewayResponder(SEL gw,
ETHTYPE 0x0945,
IP $srcr_ip,
ETH $wireless_mac,
ARP arp,
DEBUG false,
LT lt,
PERIOD 15);


gw_reply -> [1] output;



es :: ETTStat(ETHTYPE 0x0941,
ETH $wireless_mac,
Expand Down Expand Up @@ -191,6 +204,18 @@ query_responder :: SR2QueryResponder(ETHTYPE 0x0645,
DEBUG true);


gw_reply :: SR2GatewayResponder(SEL gw,
ETHTYPE 0x0945,
IP $srcr_ip,
ETH $wireless_mac,
ARP arp,
DEBUG false,
LT lt,
PERIOD 15);


gw_reply -> [1] output;

query_responder -> SR2SetChecksum -> [0] output;
query_forwarder -> SR2SetChecksum -> SR2Print(forwarding) -> [0] output;
query_forwarder [1] -> query_responder;
Expand Down

0 comments on commit 230fe9a

Please sign in to comment.