Home
last modified time | relevance | path

Searched refs:shim_hdr (Results 1 – 9 of 9) sorted by relevance

/openbsd/sys/netmpls/
H A Dmpls_shim.c48 m_adj(m, sizeof(struct shim_hdr)); in mpls_shim_pop()
51 if (m->m_len < sizeof(struct shim_hdr)) in mpls_shim_pop()
52 if ((m = m_pullup(m, sizeof(struct shim_hdr))) == NULL) in mpls_shim_pop()
62 struct shim_hdr *shim; in mpls_shim_swap()
65 if (m->m_len < sizeof(struct shim_hdr)) in mpls_shim_swap()
66 if ((m = m_pullup(m, sizeof(struct shim_hdr))) == NULL) in mpls_shim_swap()
68 shim = mtod(m, struct shim_hdr *); in mpls_shim_swap()
89 struct shim_hdr *shim; in mpls_shim_push()
91 M_PREPEND(m, sizeof(struct shim_hdr), M_DONTWAIT); in mpls_shim_push()
95 shim = mtod(m, struct shim_hdr *); in mpls_shim_push()
H A Dmpls.h41 struct shim_hdr { struct
45 #define MPLS_HDRLEN sizeof(struct shim_hdr) argument
136 struct shim_hdr imr_lshim; /* local label */
137 struct shim_hdr imr_rshim; /* remote label */
H A Dmpls_input.c54 struct shim_hdr *shim; in mpls_input()
77 shim = mtod(m, struct shim_hdr *); in mpls_input()
93 shim = mtod(m, struct shim_hdr *); in mpls_input()
117 shim = mtod(m, struct shim_hdr *); in mpls_input()
249 shim = mtod(m, struct shim_hdr *); in mpls_input()
347 struct shim_hdr stack[MPLS_INKERNEL_LOOP_MAX]; in mpls_do_error()
351 struct shim_hdr *shim; in mpls_do_error()
361 stack[nstk] = *mtod(m, struct shim_hdr *); in mpls_do_error()
443 shim = mtod(m, struct shim_hdr *); in mpls_do_error()
H A Dmpls_output.c50 struct shim_hdr *shim; in mpls_output()
112 shim = mtod(m, struct shim_hdr *); in mpls_output()
/openbsd/sys/net/
H A Dif_mpe.c66 #define MPE_HDRLEN sizeof(struct shim_hdr)
200 m->m_data += sizeof(struct shim_hdr); in mpe_start()
201 m->m_len -= sizeof(struct shim_hdr); in mpe_start()
202 m->m_pkthdr.len -= sizeof(struct shim_hdr); in mpe_start()
205 m->m_data -= sizeof(struct shim_hdr); in mpe_start()
206 m->m_len += sizeof(struct shim_hdr); in mpe_start()
226 struct shim_hdr shim; in mpe_output()
310 *mtod(m, struct shim_hdr *) = shim; in mpe_output()
364 struct shim_hdr shim; in mpe_ioctl()
465 struct shim_hdr *shim; in mpe_input()
[all …]
H A Dif_mpw.c43 struct shim_hdr n_rshim;
308 struct shim_hdr label; in mpw_get_label()
400 struct shim_hdr shim; in mpw_ioctl()
513 struct shim_hdr *shim; in mpw_input()
522 shim = mtod(m, struct shim_hdr *); in mpw_input()
536 shim = mtod(m, struct shim_hdr *); in mpw_input()
557 shim = mtod(m, struct shim_hdr *); in mpw_input()
645 struct shim_hdr *shim; in mpw_start()
696 shim = mtod(m0, struct shim_hdr *); in mpw_start()
721 shim = mtod(m0, struct shim_hdr *); in mpw_start()
[all …]
H A Dif_mpip.c49 struct shim_hdr n_rshim;
194 struct shim_hdr label; in mpip_set_label()
217 struct shim_hdr label; in mpip_get_label()
/openbsd/sbin/ifconfig/
H A Difconfig.c4016 struct shim_hdr shim; in mpls_status()
4039 struct shim_hdr shim; in setmplslabel()
/openbsd/usr.sbin/bgpd/
H A Dkroute.c2651 struct shim_hdr shim; in get_mpe_config()