trafgen: proto: Rename proto_field_xxx -> proto_hdr_field_xxx
commitd552107f5ce59a69b43517e4327ed6a4903bf529
authorVadim Kochan <vadim4j@gmail.com>
Sun, 18 Dec 2016 09:52:46 +0000 (18 11:52 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Wed, 21 Dec 2016 15:55:19 +0000 (21 16:55 +0100)
tree9029444e423b2a4d3954de9ae23c1042cb4c9145
parentd084e7ab35438619bfd414ab9a605c64e6e83817
trafgen: proto: Rename proto_field_xxx -> proto_hdr_field_xxx

Rename all proto_field_xxx(...) functions to proto_hdr_field(...).

It is good for 2 reasons:
    1) proto_hdr_field_xxx naming is more consistent as
       it is related to proto_hdr API.

    2) It makes possible to introduce proto_field_xxx API
       which will operate only with struct proto_field.

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
trafgen_l2.c
trafgen_l3.c
trafgen_l4.c
trafgen_parser.y
trafgen_proto.c
trafgen_proto.h