Deleted Added
full compact
at_rmx.c (15885) at_rmx.c (17254)
1/*
2 * Copyright 1994, 1995 Massachusetts Institute of Technology
3 *
4 * Permission to use, copy, modify, and distribute this software and
5 * its documentation for any purpose and without fee is hereby
6 * granted, provided that both the above copyright notice and this
7 * permission notice appear in all copies, that both the above
8 * copyright notice and this permission notice appear in all

--- 64 unchanged lines hidden (view full) ---

73 return &hexbuf[0];
74}
75
76static struct radix_node *
77at_addroute(void *v_arg, void *n_arg, struct radix_node_head *head,
78 struct radix_node *treenodes)
79{
80 struct radix_node *rn;
1/*
2 * Copyright 1994, 1995 Massachusetts Institute of Technology
3 *
4 * Permission to use, copy, modify, and distribute this software and
5 * its documentation for any purpose and without fee is hereby
6 * granted, provided that both the above copyright notice and this
7 * permission notice appear in all copies, that both the above
8 * copyright notice and this permission notice appear in all

--- 64 unchanged lines hidden (view full) ---

73 return &hexbuf[0];
74}
75
76static struct radix_node *
77at_addroute(void *v_arg, void *n_arg, struct radix_node_head *head,
78 struct radix_node *treenodes)
79{
80 struct radix_node *rn;
81 struct sockaddr_at *dst = v_arg, *mask = n_arg;
82
83 printf("at_addroute: v=%s\n", prsockaddr(v_arg));
84 printf("at_addroute: n=%s\n", prsockaddr(n_arg));
85 printf("at_addroute: head=%x treenodes=%x\n", head, treenodes);
86
87 rn = rn_addroute(v_arg, n_arg, head, treenodes);
88
89 printf("at_addroute: returns rn=%x\n", rn);
90
91 return rn;
92}
93
94static struct radix_node *
95at_matroute(void *v_arg, struct radix_node_head *head)
96{
97 struct radix_node *rn;
81
82 printf("at_addroute: v=%s\n", prsockaddr(v_arg));
83 printf("at_addroute: n=%s\n", prsockaddr(n_arg));
84 printf("at_addroute: head=%x treenodes=%x\n", head, treenodes);
85
86 rn = rn_addroute(v_arg, n_arg, head, treenodes);
87
88 printf("at_addroute: returns rn=%x\n", rn);
89
90 return rn;
91}
92
93static struct radix_node *
94at_matroute(void *v_arg, struct radix_node_head *head)
95{
96 struct radix_node *rn;
98 struct sockaddr_at *dst = v_arg;
99
100 printf("at_matroute: v=%s\n", prsockaddr(v_arg));
101 printf("at_matroute: head=%x\n", head);
102
103 rn = rn_match(v_arg, head);
104
105 printf("at_matroute: returns rn=%x\n", rn);
106

--- 54 unchanged lines hidden ---
97
98 printf("at_matroute: v=%s\n", prsockaddr(v_arg));
99 printf("at_matroute: head=%x\n", head);
100
101 rn = rn_match(v_arg, head);
102
103 printf("at_matroute: returns rn=%x\n", rn);
104

--- 54 unchanged lines hidden ---