Home
last modified time | relevance | path

Searched refs:hdr4 (Results 1 – 3 of 3) sorted by relevance

/net/netlabel/
Dnetlabel_kapi.c1283 struct iphdr *hdr4; in netlbl_skbuff_setattr() local
1292 hdr4 = ip_hdr(skb); in netlbl_skbuff_setattr()
1294 hdr4->daddr); in netlbl_skbuff_setattr()
Dnetlabel_unlabeled.c1483 struct iphdr *hdr4; in netlbl_unlabel_getattr() local
1486 hdr4 = ip_hdr(skb); in netlbl_unlabel_getattr()
1487 addr4 = netlbl_af4list_search(hdr4->saddr, in netlbl_unlabel_getattr()
/net/mpls/
Daf_mpls.c294 struct iphdr *hdr4 = ip_hdr(skb); in mpls_egress() local
307 new_ttl = hdr4->ttl ? hdr4->ttl - 1 : 0; in mpls_egress()
309 csum_replace2(&hdr4->check, in mpls_egress()
310 htons(hdr4->ttl << 8), in mpls_egress()
312 hdr4->ttl = new_ttl; in mpls_egress()