{"id":{"repo_id":"glasgow","oai_identifier":"oai:theses.gla.ac.uk:86369"},"canonical_url":"https://search.ndltd.org/etd/glasgow/oai:theses.gla.ac.uk:86369","repository":{"repo_id":"glasgow","name":"University of Glasgow","base_url":"https://theses.gla.ac.uk/cgi/oai2"},"display":{"title":"Accelerating network services with programmable data planes","abstract":"Programmable data planes allow network functions to be offloaded onto the forwarding path, potentially avoiding the latency and coordination overhead of processing packets in control-plane or end-host software. The open challenge is to identify the resource and processing costs, and the restrictions on service behaviour, required for a network function to operate within the data plane without runtime control-plane or user-space intervention, and how to retain a fast packet-processing path when its logic requires cross-packet history or external context. This thesis investigates this question through two contrasting arrangements of runtime state maintenance, and uses a framework based on state ownership and data-plane independence to compare their costs and constraints. Programmable Dataplane (PDP) technologies like P4 and Extended Berkeley Packet Filter (eBPF) each have inherent limitations: P4's pipeline model, which varies by target, constrains arithmetic operations and state management, and may impose per-packet execution budgets; eBPF, while more flexible as it runs on the end host, is subject to verifier-imposed execution constraints. To address these challenges, the thesis designs and evaluates a Domain Name System (DNS) cache implemented entirely in a P4 pipeline on the Behavioral Model v2 (BMv2) software switch, and develops an eBPF/eXpress Data Path (XDP) architecture for IEC 61850 Generic Object Oriented Substation Event (GOOSE) anomaly detection in Industrial Control Systems (ICS) with user-space coordination and digital twin integration. The DNS cache performs lookup and update without per-packet control-plane intervention, serving hits locally and forwarding misses or refresh queries upstream. On BMv2, it supports bounded-length A-record lookups, uses recirculation, and allocates approximately 78 KiB of register state for cache and epoch storage. An indicative comparison reports approximately 32 % fewer parser states visited per packet with binary-decomposition padding removal on recirculation, compared with a byte-loop implementation. Its admission and freshness trade-offs illustrate the service restrictions of maintaining state entirely within the data plane. The ICS architecture validates GOOSE sequence progression in XDP, delegates anomaly aggregation and deny-list updates to user space, and provides a co-simulation interface to physical-process context. In the evaluated Virtual Ethernet (veth) testbed, the XDP detection path has a median per-packet latency of 3.815 μs, compared with 2.766 μs for a no-op XDP baseline. Mean reaction intervals from the threshold-triggering anomaly to the first subsequently blocked frame are 116 and 127 ms for two sequence-violation attack classes, including event delivery, the user-space map update, and the wait for the next frame. These results support the feasibility of the detection and enforcement paths. Taken together, the prototypes show that software-maintained policy can support an independent packet-processing path, while maintaining state entirely within the data plane imposes resource costs and service restrictions. These trade-offs help guide the selection of an offloading mechanism.","abstract_html":"Programmable data planes allow network functions to be offloaded onto the forwarding path, potentially avoiding the latency and coordination overhead of processing packets in control-plane or end-host software. The open challenge is to identify the resource and processing costs, and the restrictions on service behaviour, required for a network function to operate within the data plane without runtime control-plane or user-space intervention, and how to retain a fast packet-processing path when its logic requires cross-packet history or external context. This thesis investigates this question through two contrasting arrangements of runtime state maintenance, and uses a framework based on state ownership and data-plane independence to compare their costs and constraints. Programmable Dataplane (PDP) technologies like P4 and Extended Berkeley Packet Filter (eBPF) each have inherent limitations: P4&#x27;s pipeline model, which varies by target, constrains arithmetic operations and state management, and may impose per-packet execution budgets; eBPF, while more flexible as it runs on the end host, is subject to verifier-imposed execution constraints. To address these challenges, the thesis designs and evaluates a Domain Name System (DNS) cache implemented entirely in a P4 pipeline on the Behavioral Model v2 (BMv2) software switch, and develops an eBPF/eXpress Data Path (XDP) architecture for IEC 61850 Generic Object Oriented Substation Event (GOOSE) anomaly detection in Industrial Control Systems (ICS) with user-space coordination and digital twin integration. The DNS cache performs lookup and update without per-packet control-plane intervention, serving hits locally and forwarding misses or refresh queries upstream. On BMv2, it supports bounded-length A-record lookups, uses recirculation, and allocates approximately 78 KiB of register state for cache and epoch storage. An indicative comparison reports approximately 32 % fewer parser states visited per packet with binary-decomposition padding removal on recirculation, compared with a byte-loop implementation. Its admission and freshness trade-offs illustrate the service restrictions of maintaining state entirely within the data plane. The ICS architecture validates GOOSE sequence progression in XDP, delegates anomaly aggregation and deny-list updates to user space, and provides a co-simulation interface to physical-process context. In the evaluated Virtual Ethernet (veth) testbed, the XDP detection path has a median per-packet latency of 3.815 μs, compared with 2.766 μs for a no-op XDP baseline. Mean reaction intervals from the threshold-triggering anomaly to the first subsequently blocked frame are 116 and 127 ms for two sequence-violation attack classes, including event delivery, the user-space map update, and the wait for the next frame. These results support the feasibility of the detection and enforcement paths. Taken together, the prototypes show that software-maintained policy can support an independent packet-processing path, while maintaining state entirely within the data plane imposes resource costs and service restrictions. These trade-offs help guide the selection of an offloading mechanism.","abstract_has_math":false,"creators":["Li, Xicheng"],"institution":"University of Glasgow","degree_name":null,"degree_level":"PhD","degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":[],"committee_chairs":[],"committee_members":[],"year":2026,"date_issued":"2026","date_published":"2026","updated_at":"2026-11-20T09:28:55Z","subjects":[],"languages":["en"],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.5525/gla.thesis.86369","outbound_label":"DOI","outbound_source":"dc:identifier.doi","record_url":"https://doi.org/10.5525/gla.thesis.86369","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier.doi","download_url":"https://theses.gla.ac.uk/86369/3/2026LiPhD.pdf","download_label":"Download PDF","download_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://theses.gla.ac.uk/cgi/oai2?verb=GetRecord&metadataPrefix=uketd_dc&identifier=oai%3Atheses.gla.ac.uk%3A86369","prefix":"uketd_dc"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:creator","label":"Author","values":["Li, Xicheng"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2026"]},{"key":"dc:date.issued","label":"Date","values":["2026"]},{"key":"dc:publisher.institution","label":"Dc Publisher Institution","values":["University of Glasgow"]},{"key":"dc:relation.isreferencedby","label":"Dc Relation Isreferencedby","values":["https://theses.gla.ac.uk/86369/"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"dc:type.qualificationlevel","label":"Dc Type Qualificationlevel","values":["PhD"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["en"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.doi","label":"DOI","values":["10.5525/gla.thesis.86369"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://theses.gla.ac.uk/86369/3/2026LiPhD.pdf"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Programmable data planes allow network functions to be offloaded onto the forwarding path, potentially avoiding the latency and coordination overhead of processing packets in control-plane or end-host software. The open challenge is to identify the resource and processing costs, and the restrictions on service behaviour, required for a network function to operate within the data plane without runtime control-plane or user-space intervention, and how to retain a fast packet-processing path when its logic requires cross-packet history or external context. This thesis investigates this question through two contrasting arrangements of runtime state maintenance, and uses a framework based on state ownership and data-plane independence to compare their costs and constraints. Programmable Dataplane (PDP) technologies like P4 and Extended Berkeley Packet Filter (eBPF) each have inherent limitations: P4's pipeline model, which varies by target, constrains arithmetic operations and state management, and may impose per-packet execution budgets; eBPF, while more flexible as it runs on the end host, is subject to verifier-imposed execution constraints. To address these challenges, the thesis designs and evaluates a Domain Name System (DNS) cache implemented entirely in a P4 pipeline on the Behavioral Model v2 (BMv2) software switch, and develops an eBPF/eXpress Data Path (XDP) architecture for IEC 61850 Generic Object Oriented Substation Event (GOOSE) anomaly detection in Industrial Control Systems (ICS) with user-space coordination and digital twin integration. The DNS cache performs lookup and update without per-packet control-plane intervention, serving hits locally and forwarding misses or refresh queries upstream. On BMv2, it supports bounded-length A-record lookups, uses recirculation, and allocates approximately 78 KiB of register state for cache and epoch storage. An indicative comparison reports approximately 32 % fewer parser states visited per packet with binary-decomposition padding removal on recirculation, compared with a byte-loop implementation. Its admission and freshness trade-offs illustrate the service restrictions of maintaining state entirely within the data plane. The ICS architecture validates GOOSE sequence progression in XDP, delegates anomaly aggregation and deny-list updates to user space, and provides a co-simulation interface to physical-process context. In the evaluated Virtual Ethernet (veth) testbed, the XDP detection path has a median per-packet latency of 3.815 μs, compared with 2.766 μs for a no-op XDP baseline. Mean reaction intervals from the threshold-triggering anomaly to the first subsequently blocked frame are 116 and 127 ms for two sequence-violation attack classes, including event delivery, the user-space map update, and the wait for the next frame. These results support the feasibility of the detection and enforcement paths. Taken together, the prototypes show that software-maintained policy can support an independent packet-processing path, while maintaining state entirely within the data plane imposes resource costs and service restrictions. These trade-offs help guide the selection of an offloading mechanism."]},{"key":"dc:format","label":"Dc Format","values":["pdf"]},{"key":"dcterms:accessrights","label":"Dcterms Accessrights","values":["public"]},{"key":"dc:title","label":"Title","values":["Accelerating network services with programmable data planes"]}]}],"canonical_facts":{"dc:creator":["Li, Xicheng"],"dc:date":["2026"],"dc:date.issued":["2026"],"dc:description.abstract":["Programmable data planes allow network functions to be offloaded onto the forwarding path, potentially avoiding the latency and coordination overhead of processing packets in control-plane or end-host software. The open challenge is to identify the resource and processing costs, and the restrictions on service behaviour, required for a network function to operate within the data plane without runtime control-plane or user-space intervention, and how to retain a fast packet-processing path when its logic requires cross-packet history or external context. This thesis investigates this question through two contrasting arrangements of runtime state maintenance, and uses a framework based on state ownership and data-plane independence to compare their costs and constraints. Programmable Dataplane (PDP) technologies like P4 and Extended Berkeley Packet Filter (eBPF) each have inherent limitations: P4's pipeline model, which varies by target, constrains arithmetic operations and state management, and may impose per-packet execution budgets; eBPF, while more flexible as it runs on the end host, is subject to verifier-imposed execution constraints. To address these challenges, the thesis designs and evaluates a Domain Name System (DNS) cache implemented entirely in a P4 pipeline on the Behavioral Model v2 (BMv2) software switch, and develops an eBPF/eXpress Data Path (XDP) architecture for IEC 61850 Generic Object Oriented Substation Event (GOOSE) anomaly detection in Industrial Control Systems (ICS) with user-space coordination and digital twin integration. The DNS cache performs lookup and update without per-packet control-plane intervention, serving hits locally and forwarding misses or refresh queries upstream. On BMv2, it supports bounded-length A-record lookups, uses recirculation, and allocates approximately 78 KiB of register state for cache and epoch storage. An indicative comparison reports approximately 32 % fewer parser states visited per packet with binary-decomposition padding removal on recirculation, compared with a byte-loop implementation. Its admission and freshness trade-offs illustrate the service restrictions of maintaining state entirely within the data plane. The ICS architecture validates GOOSE sequence progression in XDP, delegates anomaly aggregation and deny-list updates to user space, and provides a co-simulation interface to physical-process context. In the evaluated Virtual Ethernet (veth) testbed, the XDP detection path has a median per-packet latency of 3.815 μs, compared with 2.766 μs for a no-op XDP baseline. Mean reaction intervals from the threshold-triggering anomaly to the first subsequently blocked frame are 116 and 127 ms for two sequence-violation attack classes, including event delivery, the user-space map update, and the wait for the next frame. These results support the feasibility of the detection and enforcement paths. Taken together, the prototypes show that software-maintained policy can support an independent packet-processing path, while maintaining state entirely within the data plane imposes resource costs and service restrictions. These trade-offs help guide the selection of an offloading mechanism."],"dc:format":["pdf"],"dc:identifier.doi":["10.5525/gla.thesis.86369"],"dc:identifier.uri":["https://theses.gla.ac.uk/86369/3/2026LiPhD.pdf"],"dc:language":["en"],"dc:publisher.institution":["University of Glasgow"],"dc:relation.isreferencedby":["https://theses.gla.ac.uk/86369/"],"dcterms:accessrights":["public"],"dc:title":["Accelerating network services with programmable data planes"],"dc:type":["Thesis"],"dc:type.qualificationlevel":["PhD"]},"updated_at":"2026-11-20T09:28:55Z"}